Strip all Phase references, TODO/FUTURE roadmap notes, and internal planning comments from the codebase. Run Prettier for consistent formatting across all Java files.
32 lines
832 B
Java
32 lines
832 B
Java
package com.tiedup.remake.blocks.entity;
|
|
|
|
import net.minecraft.core.BlockPos;
|
|
import net.minecraft.world.level.block.state.BlockState;
|
|
|
|
/**
|
|
* BlockEntity for kidnap bomb blocks.
|
|
*
|
|
*
|
|
* Stores bondage items that will be applied when the bomb explodes.
|
|
* Simple extension of BondageItemBlockEntity.
|
|
*
|
|
* Based on original TileEntityKidnapBomb from 1.12.2
|
|
*/
|
|
public class KidnapBombBlockEntity extends BondageItemBlockEntity {
|
|
|
|
public KidnapBombBlockEntity(BlockPos pos, BlockState state) {
|
|
super(ModBlockEntities.KIDNAP_BOMB.get(), pos, state);
|
|
}
|
|
|
|
/**
|
|
* Constructor with off-mode for tooltip reading.
|
|
*/
|
|
public KidnapBombBlockEntity(
|
|
BlockPos pos,
|
|
BlockState state,
|
|
boolean offMode
|
|
) {
|
|
super(ModBlockEntities.KIDNAP_BOMB.get(), pos, state, offMode);
|
|
}
|
|
}
|