In Minecraft, a beacon has the following Name, ID and DataValue: ItemDescription(Minecraft ID Name)Data ValueStack SizePlatformVersion(s) Beacon(minecraft:beacon) 0 64 Java 1.8 - 1.12 Beacon(minecraft:beacon) 64 Java 1.13 - 1.21.1Definitions Description is what the item is called and (Minecra...
you can use any in-game tool. It will cause an explosion when mined, so do practice caution. Players usually destroy a beacon with an explosion using TNT to get it to drop as an item without getting much risk involved.
importnet.minecraft.tileentity.TileEntityBeacon;//导入依赖的package包/类publicbooleanonBlockActivated(World worldIn, BlockPos pos, IBlockState state, EntityPlayer playerIn, EnumHand hand, EnumFacing heldItem,floatside,floathitX,floathitY){if(worldIn.isRemote) {returntrue; }else{ TileEntity tileen...