mirror of
https://github.com/GTNewHorizons/Botania.git
synced 2026-11-17 02:45:13 +00:00
Fix somde models
This commit is contained in:
1 parent
1b87160ef6
commit
674ba5c19d
7 files changed
+61
-59
No files matched your search
@@ -87,6 +87,7 @@ public class MiscellaneousIcons {
|
||||
|
||||
@SubscribeEvent
|
||||
public void onModelBake(ModelBakeEvent evt) {
|
||||
FMLLog.info("The baked model for botania:jadedAmaranthus#normal is: " + evt.getModelRegistry().getObject(new ModelResourceLocation("botania:jadedAmaranthus", "normal")));
|
||||
// Floating flowers todo 1.9
|
||||
/*evt.getModelRegistry().putObject(new ModelResourceLocation("botania:miniIsland", "normal"), FloatingFlowerModel.INSTANCE);
|
||||
evt.getModelRegistry().putObject(new ModelResourceLocation("botania:miniIsland", "inventory"), FloatingFlowerModel.INSTANCE);
|
||||
|
||||
@@ -74,6 +74,7 @@ public class SpecialFlowerModel implements IModelCustomData {
|
||||
// Force island models to be loaded and baked. See FloatingFlowerModel.
|
||||
builder.addAll(BotaniaAPIClient.getRegisteredIslandTypeModels().values());
|
||||
|
||||
FMLLog.info("Collected special flower dependencies: %s", builder.build());
|
||||
return builder.build();
|
||||
}
|
||||
|
||||
|
||||
@@ -48,7 +48,7 @@ public class BlockManaGlass extends BlockMod implements ILexiconable {
|
||||
|
||||
@Override
|
||||
public boolean shouldSideBeRendered(IBlockState state, IBlockAccess world, BlockPos pos, EnumFacing side) {
|
||||
Block block = world.getBlockState(pos).getBlock();
|
||||
Block block = world.getBlockState(pos.offset(side)).getBlock();
|
||||
return block == this ? false : super.shouldSideBeRendered(state, world, pos, side);
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user