Make platform disappear with managlass, and fix version checker

This commit is contained in:
Vincent Lee committed 2016-05-01 11:42:40 -05:00
1 parent 95427b1c9d
commit e37255a997
2 files changed
+6 -1

No files matched your search

@@ -56,6 +56,11 @@ public class PlatformModel implements IBakedModel {
ModelResourceLocation path = new ModelResourceLocation("botania:platform", "variant=" + state.getValue(BotaniaStateProps.PLATFORM_VARIANT).getName());
return mc.getBlockRendererDispatcher().getBlockModelShapes().getModelManager().getModel(path).getQuads(state, side, rand);
} else if(heldState != null) {
// Some people used this to get an invisible block in the past, accommodate that.
if(heldState.getBlock() == ModBlocks.manaGlass)
return ImmutableList.of();
if(heldState.getBlock().canRenderInLayer(heldState, layer)) {
IBlockState actual = heldState.getBlock().getActualState(heldState, new FakeBlockAccess(heldWorld), heldPos);
@@ -19,7 +19,7 @@ import java.net.URL;
public class ThreadVersionChecker extends Thread {
private static final String LINK = "https://raw.githubusercontent.com/williewillus/Botania/MC18/version/" + MinecraftForge.MC_VERSION + ".txt";
private static final String LINK = "https://raw.githubusercontent.com/williewillus/Botania/MC19/version/" + MinecraftForge.MC_VERSION + ".txt";
public ThreadVersionChecker() {
setName("Botania Version Checker Thread");