Interface NotPlaceable

All Superinterfaces:
ItemAttribute
All Known Implementing Classes:
AdvancedIndustrialMiner, ArmorForge, AutomatedPanningMachine, BasicCircuitBoard, BirthdayCake, BrokenSpawner, ChristmasPresent, Compressor, CoolantCell, EnderBackpack, EnhancedCraftingTable, ExplosivePickaxe, ExplosiveShovel, ExplosiveTool, GPSMarkerTool, GrindStone, IndustrialMiner, InfusedMagnet, Juicer, LumberAxe, MagicalZombiePills, MagicWorkbench, MakeshiftSmeltery, MultiBlockMachine, OreCrusher, OreWasher, PortableCrafter, PortableDustbin, PressureChamber, RadioactiveItem, SeismicAxe, Smeltery, SoulboundItem, TableSaw, TapeMeasure, UnplaceableBlock

public interface NotPlaceable extends ItemAttribute
Implement this interface for any SlimefunItem to prevent that SlimefunItem from being placed. Important: This will not cancel any BlockPlaceEvent. It will simply prevent Slimefun from ever registering this SlimefunItem as a placed Block.
Author:
TheBusyBiscuit
  • Method Summary

    Methods inherited from interface io.github.thebusybiscuit.slimefun4.core.attributes.ItemAttribute

    getId