Interface quick reference

  • Interaction interfaces

    Interfaces which do something when a player interacts with them

    Interface Javadocs
    GuiRebarBlock Javadocs
    InteractRebarBlockHandler Javadocs
    JumpRebarBlockHandler Javadocs
    SneakRebarBlockHandler Javadocs
  • Miscellaneous interfaces

    Interfaces which do not fall into any particular category.

    Interface Javadocs
    BlockBreakRebarBlockHandler Javadocs
    DirectionalRebarBlock Javadocs
    FacadeRebarBlock Javadocs
    FallingRebarBlockHandler Javadocs
    TickingRebarBlock Javadocs
    UnloadRebarBlockHandler Javadocs
    VirtualInventoryRebarBlock Javadocs
    NoVanillaInventoryRebarBlock Javadocs
    VanillaInventoryRebarBlockHandler Javadocs
  • Logistics interfaces

    Interfaces which allow your block to interact with logistic systems, including cargo.

    If you want your machine to be compatible with cargo inserters/extractors, you need to implement LogisticRebarBlock.

    Interface Javadocs
    CargoRebarBlock Javadocs
    LogisticRebarBlock Javadocs
  • Fluid interfaces

    Interfaces which allow your block to interact with the fluid system.

    You should use FluidBufferRebarBlock and FluidTankRebarBlock over FluidRebarBlock unless necessary. The FluidRebarBlock interface is quite abstract and designed to be as flexible as possible, requiring your machine to implement its own fluid storage logic.

    Interface Javadocs
    FluidRebarBlock Javadocs
    FluidBufferRebarBlock Javadocs
    FluidTankRebarBlock Javadocs
  • Processor interfaces

    Interfaces which keep track of a process, such as the amount of fuel or the progress of a recipe.

    Interface Javadocs
    ProcessorRebarBlock Javadocs
    RecipeProcessorRebarBlock Javadocs
  • Multiblock interfaces

    Interfaces which turn your block into a multiblock.

    Most multiblocks you create can use SimpleRebarMultiblock. For more complex multiblocks, you can RebarMultiblock, but this class is designed to be as flexible as possible and so is very barebones - it does not come with ghost blocks, does not account for rotation, etc.

    Interface Javadocs
    RebarMultiblock Javadocs
    SimpleRebarMultiblock Javadocs
  • Entity interfaces

    Interfaces which interact with entities in some way.

    Interface Javadocs
    EntityChangeRebarBlockHandler Javadocs
    EntityHolderRebarBlock Javadocs
  • Culling interfaces

    Interfaces which allow your block to interact with Rebar's culling system.

    Interface Javadocs
    CulledRebarBlock Javadocs
    GroupCulledRebarBlock Javadocs
    EntityCulledRebarBlock Javadocs
    EntityGroupCulledRebarBlock Javadocs
  • Vanilla interfaces

    Interfaces which expose functionality of vanilla blocks. For example, if you add a block which is a beacon and want to run some code when the beacon is deactivated, you could use BeaconRebarBlockHandler.

    Interface Javadocs
    BeaconRebarBlockHandler Javadocs
    BellRebarBlockHandler Javadocs
    BrewingStandRebarBlockHandler Javadocs
    CampfireRebarBlockHandler Javadocs
    CauldronRebarBlockHandler Javadocs
    ComposterRebarBlockHandler Javadocs
    CopperRebarBlockHandler Javadocs
    CrafterRebarBlockHandler Javadocs
    DispenserRebarBlockHandler Javadocs
    EnchantingTableRebarBlockHandler Javadocs
    FlowerPotRebarBlockHandler Javadocs
    FurnaceRebarBlockHandler Javadocs
    GrowRebarBlockHandler Javadocs
    HopperRebarBlockHandler Javadocs
    JobRebarBlockHandler Javadocs
    LeafRebarBlockHandler Javadocs
    LecternRebarBlockHandler Javadocs
    NoJobRebarBlock Javadocs
    NoteRebarBlockHandler Javadocs
    PistonRebarBlockHandler Javadocs
    RedstoneRebarBlockHandler Javadocs
    ShearRebarBlockHandler Javadocs
    SignRebarBlockHandler Javadocs
    SpongeRebarBlockHandler Javadocs
    TargetRebarBlockHandler Javadocs
    TNTRebarBlockHandler Javadocs
    VaultRebarBlockHandler Javadocs