mirror of
https://github.com/GTNewHorizons/Botania.git
synced 2026-11-19 03:39:17 +00:00
Make platform disappear with managlass, and fix version checker
This commit is contained in:
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");
|
||||
|
||||
Reference in new issue
Block a user