mirror of
https://github.com/GTNewHorizons/ForestryMC.git
synced 2026-11-28 15:36:18 +00:00
Fix #1988 Arborist's Chests causing suffocation damage
This commit is contained in:
1 parent
6eab284cd1
commit
424bc8910d
3 files changed
+8
-5
No files matched your search
@@ -10,6 +10,8 @@
|
||||
******************************************************************************/
|
||||
package forestry.apiculture.blocks;
|
||||
|
||||
import net.minecraft.util.math.AxisAlignedBB;
|
||||
|
||||
import forestry.apiculture.tiles.TileApiaristChest;
|
||||
import forestry.core.blocks.IBlockTypeTesr;
|
||||
import forestry.core.blocks.IMachinePropertiesTesr;
|
||||
@@ -17,7 +19,6 @@ import forestry.core.blocks.MachinePropertiesTesr;
|
||||
import forestry.core.config.Constants;
|
||||
import forestry.core.proxy.Proxies;
|
||||
import forestry.core.tiles.TileNaturalistChest;
|
||||
import net.minecraft.util.math.AxisAlignedBB;
|
||||
|
||||
public enum BlockTypeApicultureTesr implements IBlockTypeTesr {
|
||||
APIARIST_CHEST(TileApiaristChest.class, "api_chest", "apiaristchest", TileNaturalistChest.chestBoundingBox);
|
||||
|
||||
@@ -10,6 +10,8 @@
|
||||
******************************************************************************/
|
||||
package forestry.arboriculture.blocks;
|
||||
|
||||
import net.minecraft.util.math.AxisAlignedBB;
|
||||
|
||||
import forestry.arboriculture.tiles.TileArboristChest;
|
||||
import forestry.core.blocks.IBlockTypeTesr;
|
||||
import forestry.core.blocks.IMachinePropertiesTesr;
|
||||
@@ -17,7 +19,6 @@ import forestry.core.blocks.MachinePropertiesTesr;
|
||||
import forestry.core.config.Constants;
|
||||
import forestry.core.proxy.Proxies;
|
||||
import forestry.core.tiles.TileNaturalistChest;
|
||||
import net.minecraft.util.math.AxisAlignedBB;
|
||||
|
||||
public enum BlockTypeArboricultureTesr implements IBlockTypeTesr {
|
||||
ARB_CHEST(TileArboristChest.class, "arb_chest", "arbchest", TileNaturalistChest.chestBoundingBox);
|
||||
@@ -27,7 +28,7 @@ public enum BlockTypeArboricultureTesr implements IBlockTypeTesr {
|
||||
private final IMachinePropertiesTesr<?> machineProperties;
|
||||
|
||||
<T extends TileNaturalistChest> BlockTypeArboricultureTesr(Class<T> teClass, String name, String renderName, AxisAlignedBB boundingBox) {
|
||||
MachinePropertiesTesr<T> machineProperties = new MachinePropertiesTesr<>(teClass, name, boundingBox, Constants.MOD_ID + ":blocks/" + name + ".0");
|
||||
MachinePropertiesTesr<T> machineProperties = new MachinePropertiesTesr<>(teClass, name, boundingBox, Constants.MOD_ID + ":blocks/" + name + ".0", false);
|
||||
Proxies.render.setRenderChest(machineProperties, renderName);
|
||||
this.machineProperties = machineProperties;
|
||||
}
|
||||
|
||||
@@ -10,6 +10,8 @@
|
||||
******************************************************************************/
|
||||
package forestry.lepidopterology.blocks;
|
||||
|
||||
import net.minecraft.util.math.AxisAlignedBB;
|
||||
|
||||
import forestry.core.blocks.IBlockTypeTesr;
|
||||
import forestry.core.blocks.IMachinePropertiesTesr;
|
||||
import forestry.core.blocks.MachinePropertiesTesr;
|
||||
@@ -17,7 +19,6 @@ import forestry.core.config.Constants;
|
||||
import forestry.core.proxy.Proxies;
|
||||
import forestry.core.tiles.TileNaturalistChest;
|
||||
import forestry.lepidopterology.tiles.TileLepidopteristChest;
|
||||
import net.minecraft.util.math.AxisAlignedBB;
|
||||
|
||||
public enum BlockTypeLepidopterologyTesr implements IBlockTypeTesr {
|
||||
LEPICHEST(TileLepidopteristChest.class, "lepi_chest", "lepichest", TileNaturalistChest.chestBoundingBox);
|
||||
@@ -27,7 +28,7 @@ public enum BlockTypeLepidopterologyTesr implements IBlockTypeTesr {
|
||||
private final IMachinePropertiesTesr<?> machineProperties;
|
||||
|
||||
<T extends TileNaturalistChest> BlockTypeLepidopterologyTesr(Class<T> teClass, String name, String renderName, AxisAlignedBB boundingBox) {
|
||||
MachinePropertiesTesr<T> machineProperties = new MachinePropertiesTesr<>(teClass, name, boundingBox, Constants.MOD_ID + ":blocks/" + name + ".0");
|
||||
MachinePropertiesTesr<T> machineProperties = new MachinePropertiesTesr<>(teClass, name, boundingBox, Constants.MOD_ID + ":blocks/" + name + ".0", false);
|
||||
Proxies.render.setRenderChest(machineProperties, renderName);
|
||||
this.machineProperties = machineProperties;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user