Dark Shingle Roof Wire Conduit recipe added. Fixed Ladder climbing (issue #167).

This commit is contained in:
stfwi 2021-03-02 17:00:16 +01:00
parent 915abca4fa
commit 3f12390dd5
6 changed files with 44 additions and 3 deletions

View file

@ -13,6 +13,8 @@
package wile.engineersdecor.blocks;
import net.minecraft.entity.EntitySpawnPlacementRegistry;
import net.minecraft.entity.LivingEntity;
import net.minecraft.world.IWorldReader;
import wile.engineersdecor.ModConfig;
import wile.engineersdecor.libmc.detail.Auxiliaries;
import net.minecraft.entity.EntityType;
@ -86,6 +88,10 @@ public class EdLadderBlock extends LadderBlock implements IDecorBlock
public PushReaction getPushReaction(BlockState state)
{ return PushReaction.NORMAL; }
@Override
public boolean isLadder(BlockState state, IWorldReader world, BlockPos pos, LivingEntity entity)
{ return true; }
// Player update event, forwarded from the main mod instance.
public static void onPlayerUpdateEvent(final PlayerEntity player)
{