Merge branch 'improvedfloaters'

This commit is contained in:
Vincent Lee committed 2016-08-19 19:53:47 -05:00
commit a9171cd215
14 files changed
+187 -3

No files matched your search

@@ -209,8 +209,10 @@ public class SpecialFlowerModel implements IModelCustomData {
@Nonnull
@Override
public List<BakedQuad> getQuads(IBlockState state, EnumFacing face, long rand) {
if(state.getBlock() != ModBlocks.specialFlower)
if(state.getBlock() != ModBlocks.specialFlower) {
Botania.LOGGER.fatal("FOREIGN BLOCK: " + state);
return Minecraft.getMinecraft().getBlockRendererDispatcher().getBlockModelShapes().getModelManager().getMissingModel().getQuads(state, face, rand);
}
IExtendedBlockState extendedState = ((IExtendedBlockState) state);
String subtileId = extendedState.getValue(BotaniaStateProps.SUBTILE_ID);