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) {
|
||||
var mat = new Material(TextureAtlas.LOCATION_BLOCKS,
|
||||
new ResourceLocation(namespace, "block/crafting/" + name));
|
||||
ResourceLocation.fromNamespaceAndPath(namespace, "block/crafting/" + name));
|
||||
MATERIALS.add(mat);
|
||||
return mat;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -66,7 +66,7 @@ public enum WirelessTransceiverJadePluginComponents implements IBlockComponentPr
|
|||
private final ResourceLocation uid;
|
||||
|
||||
WirelessTransceiverJadePluginComponents(String path) {
|
||||
this.uid = new ResourceLocation("extendedae_plus", path);
|
||||
this.uid = ResourceLocation.fromNamespaceAndPath("extendedae_plus", path);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
|||
|
|
@ -14,7 +14,7 @@ import snownee.jade.api.IServerDataProvider;
|
|||
public enum WirelessTransceiverProvider implements IServerDataProvider<BlockAccessor> {
|
||||
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
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@ import net.minecraft.resources.ResourceLocation;
|
|||
|
||||
@JeiPlugin
|
||||
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
|
||||
public ResourceLocation getPluginUid() {
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user