Strip all Phase references, TODO/FUTURE roadmap notes, and internal planning comments from the codebase. Run Prettier for consistent formatting across all Java files.
28 lines
772 B
Java
28 lines
772 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.
|
|
*
|
|
*
|
|
* 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);
|
|
}
|
|
}
|