integration包
This commit is contained in:
parent
a5a3d340c1
commit
a8bf4023f7
|
|
@ -82,7 +82,7 @@ public class EPlusCraftingCubeModelProvider
|
||||||
|
|
||||||
private static Material texture(String namespace, String name) {
|
private static Material texture(String namespace, String name) {
|
||||||
var mat = new Material(TextureAtlas.LOCATION_BLOCKS,
|
var mat = new Material(TextureAtlas.LOCATION_BLOCKS,
|
||||||
new ResourceLocation(namespace, "block/crafting/" + name));
|
ResourceLocation.fromNamespaceAndPath(namespace, "block/crafting/" + name));
|
||||||
MATERIALS.add(mat);
|
MATERIALS.add(mat);
|
||||||
return mat;
|
return mat;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -66,7 +66,7 @@ public enum WirelessTransceiverJadePluginComponents implements IBlockComponentPr
|
||||||
private final ResourceLocation uid;
|
private final ResourceLocation uid;
|
||||||
|
|
||||||
WirelessTransceiverJadePluginComponents(String path) {
|
WirelessTransceiverJadePluginComponents(String path) {
|
||||||
this.uid = new ResourceLocation("extendedae_plus", path);
|
this.uid = ResourceLocation.fromNamespaceAndPath("extendedae_plus", path);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|
|
||||||
|
|
@ -14,7 +14,7 @@ import snownee.jade.api.IServerDataProvider;
|
||||||
public enum WirelessTransceiverProvider implements IServerDataProvider<BlockAccessor> {
|
public enum WirelessTransceiverProvider implements IServerDataProvider<BlockAccessor> {
|
||||||
INSTANCE;
|
INSTANCE;
|
||||||
|
|
||||||
private static final ResourceLocation UID = new ResourceLocation("extendedae_plus", "wireless_transceiver_info");
|
private static final ResourceLocation UID = ResourceLocation.fromNamespaceAndPath("extendedae_plus", "wireless_transceiver_info");
|
||||||
// 此类仅用于同步服务端数据,不再包含客户端选项键
|
// 此类仅用于同步服务端数据,不再包含客户端选项键
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|
|
||||||
|
|
@ -8,7 +8,7 @@ import net.minecraft.resources.ResourceLocation;
|
||||||
|
|
||||||
@JeiPlugin
|
@JeiPlugin
|
||||||
public class ExtendedAEJeiPlugin implements IModPlugin {
|
public class ExtendedAEJeiPlugin implements IModPlugin {
|
||||||
private static final ResourceLocation UID = new ResourceLocation(ExtendedAEPlus.MODID, "jei_plugin");
|
private static final ResourceLocation UID = ResourceLocation.fromNamespaceAndPath(ExtendedAEPlus.MODID, "jei_plugin");
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public ResourceLocation getPluginUid() {
|
public ResourceLocation getPluginUid() {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user