package com.tiedup.remake.blocks.entity; import net.minecraft.core.BlockPos; import net.minecraft.world.level.block.state.BlockState; /** * BlockEntity for rope trap blocks. * * Phase 16: Blocks * * Stores bondage items that will be applied when an entity walks on the trap. * Simple extension of BondageItemBlockEntity. * * Based on original TileEntityTrap from 1.12.2 */ public class TrapBlockEntity extends BondageItemBlockEntity { public TrapBlockEntity(BlockPos pos, BlockState state) { super(ModBlockEntities.TRAP.get(), pos, state); } /** * Constructor with off-mode for tooltip reading. */ public TrapBlockEntity(BlockPos pos, BlockState state, boolean offMode) { super(ModBlockEntities.TRAP.get(), pos, state, offMode); } }