1
0
mirror of https://github.com/SquidDev-CC/CC-Tweaked synced 2024-09-29 23:40:46 +00:00

Bump Forge version

Turtle models now work (though texture registration is still broken).
This commit is contained in:
SquidDev 2019-06-23 15:30:29 +01:00
parent 772c54ec74
commit f1e551b960
2 changed files with 3 additions and 3 deletions

View File

@ -3,5 +3,5 @@ mod_version=1.83.1
# Minecraft properties # Minecraft properties
mc_version=1.14.2 mc_version=1.14.2
forge_version=26.0.35 forge_version=26.0.55
mappings_version=20190621-1.14.2 mappings_version=20190621-1.14.2

View File

@ -34,7 +34,7 @@ import java.util.Map;
/** /**
* Registers textures and models for items. * Registers textures and models for items.
*/ */
@Mod.EventBusSubscriber( modid = ComputerCraft.MOD_ID, value = Dist.CLIENT ) @Mod.EventBusSubscriber( modid = ComputerCraft.MOD_ID, value = Dist.CLIENT, bus = Mod.EventBusSubscriber.Bus.MOD )
public final class ClientRegistry public final class ClientRegistry
{ {
private static final String[] EXTRA_MODELS = new String[] { private static final String[] EXTRA_MODELS = new String[] {
@ -91,7 +91,7 @@ public final class ClientRegistry
{ {
// Load all extra models // Load all extra models
ModelLoader loader = event.getModelLoader(); ModelLoader loader = event.getModelLoader();
Map<ModelResourceLocation, IBakedModel> registry = event.getModelRegistry(); Map<ResourceLocation, IBakedModel> registry = event.getModelRegistry();
for( String model : EXTRA_MODELS ) for( String model : EXTRA_MODELS )
{ {