File tree Expand file tree Collapse file tree
src/main/java/com/github/gtexpert/gtmt/integration/tic Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -43,5 +43,4 @@ public void registerBlocks(RegistryEvent.Register<Block> event) {
4343 ElasticMaterialRegistrar .register (event .getRegistry ());
4444 TiCSmeltery .register ();
4545 }
46-
4746}
Original file line number Diff line number Diff line change @@ -141,9 +141,8 @@ public void onResourceManagerReload(IResourceManager resourceManager) {}
141141 public boolean accepts (ResourceLocation modelLocation ) {
142142 if (!(modelLocation instanceof ModelResourceLocation )) return false ;
143143 ModelResourceLocation mrl = (ModelResourceLocation ) modelLocation ;
144- return "tconstruct" .equals (mrl .getNamespace ())
145- && "fluid_block" .equals (mrl .getPath ())
146- && FluidRegistry .getFluid (mrl .getVariant ()) != null ;
144+ return "tconstruct" .equals (mrl .getNamespace ()) && "fluid_block" .equals (mrl .getPath ()) &&
145+ FluidRegistry .getFluid (mrl .getVariant ()) != null ;
147146 }
148147
149148 @ Override
@@ -160,9 +159,9 @@ public IModel loadModel(ResourceLocation modelLocation) {
160159 */
161160 @ SideOnly (Side .CLIENT )
162161 public static void injectFluidItemModels (IRegistry <ModelResourceLocation , IBakedModel > registry ) {
163- java .util .function .Function <ResourceLocation , TextureAtlasSprite > textureGetter =
164- loc -> net . minecraft . client . Minecraft .getMinecraft ()
165- .getTextureMapBlocks ().getAtlasSprite (loc .toString ());
162+ java .util .function .Function <ResourceLocation , TextureAtlasSprite > textureGetter = loc -> net . minecraft . client . Minecraft
163+ .getMinecraft ()
164+ .getTextureMapBlocks ().getAtlasSprite (loc .toString ());
166165 for (Map .Entry <ModelResourceLocation , Fluid > entry : fluidItemModels .entrySet ()) {
167166 IBakedModel model = new ModelFluid (entry .getValue ()).bake (
168167 TRSRTransformation .identity (),
You can’t perform that action at this time.
0 commit comments