Files
TiedUp-/src/main/java/com/tiedup/remake/blocks/entity/TrapBlockEntity.java
NotEvil f6466360b6 Clean repo for open source release
Remove build artifacts, dev tool configs, unused dependencies,
and third-party source dumps. Add proper README, update .gitignore,
clean up Makefile.
2026-04-12 00:51:22 +02:00

29 lines
792 B
Java

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);
}
}