generated from Fabricators-of-Create/create-multiloader-addon-template
-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathPatternSchematics.java
25 lines (18 loc) · 885 Bytes
/
PatternSchematics.java
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
package com.cak.pattern_schematics;
import com.cak.pattern_schematics.registry.PatternSchematicsRegistry;
import com.cak.pattern_schematics.registry.PlatformPackets;
import com.simibubi.create.foundation.data.CreateRegistrate;
import net.minecraft.resources.ResourceLocation;
// The value here should match an entry in the META-INF/mods.toml file
public class PatternSchematics {
public static final String MOD_ID = "create_pattern_schematics";
public static final CreateRegistrate REGISTRATE = CreateRegistrate.create(PatternSchematics.MOD_ID);
public static void init() {
PatternSchematicsRegistry.register();
PlatformPackets.registerPackets();
PlatformPackets.getChannel().initServerListener();
}
public static ResourceLocation asResource(String loc) {
return new ResourceLocation(MOD_ID, loc);
}
}