mirror of
https://github.com/GTNewHorizons/Botania.git
synced 2026-11-19 03:39:17 +00:00
Merge branch 'improvedfloaters'
This commit is contained in:
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);
|
||||
|
||||
Reference in new issue
Block a user