Class ServerEvents1_12_2

java.lang.Object
mods.thecomputerizer.theimpossiblelibrary.legacy.v12.m2.server.event.ServerEvents1_12_2
All Implemented Interfaces:
mods.thecomputerizer.theimpossiblelibrary.api.common.event.CommonEventsAPI, mods.thecomputerizer.theimpossiblelibrary.api.server.event.ServerEventsAPI

public class ServerEvents1_12_2 extends Object implements mods.thecomputerizer.theimpossiblelibrary.api.server.event.ServerEventsAPI
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
     
    <A> mods.thecomputerizer.theimpossiblelibrary.api.shapes.Box
    getAABB(A aabb)
     
    <A> mods.thecomputerizer.theimpossiblelibrary.api.common.item.ActionResult
    getActionResult(A result)
     
    <E> mods.thecomputerizer.theimpossiblelibrary.api.common.event.EventWrapper.Result
    getEventResult(E result)
     
    <D> mods.thecomputerizer.theimpossiblelibrary.api.common.block.Facing
    getFacing(D direction)
     
    <H> mods.thecomputerizer.theimpossiblelibrary.api.common.item.Hand
    getHand(H hand)
     
    <V> mods.thecomputerizer.theimpossiblelibrary.api.shapes.vectors.Vector3
    getVec3d(V vector)
     
    boolean
     
    void
    postCustomTick(mods.thecomputerizer.theimpossiblelibrary.api.util.CustomTick ticker)
     
    <E extends mods.thecomputerizer.theimpossiblelibrary.api.common.event.EventWrapper<?>>
    void
    register(E wrapper)
     
    net.minecraft.util.math.AxisAlignedBB
    setAABB(mods.thecomputerizer.theimpossiblelibrary.api.shapes.Box box)
     
    net.minecraft.util.EnumActionResult
    setActionResult(mods.thecomputerizer.theimpossiblelibrary.api.common.item.ActionResult result)
     
    net.minecraftforge.fml.common.eventhandler.Event.Result
    setEventResult(mods.thecomputerizer.theimpossiblelibrary.api.common.event.EventWrapper.Result result)
     
    net.minecraft.util.EnumFacing
    setFacing(mods.thecomputerizer.theimpossiblelibrary.api.common.block.Facing facing)
     
    net.minecraft.util.EnumHand
    setHand(mods.thecomputerizer.theimpossiblelibrary.api.common.item.Hand hand)
     
    net.minecraft.util.math.Vec3d
    setVec3d(mods.thecomputerizer.theimpossiblelibrary.api.shapes.vectors.Vector3 vector)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • ServerEvents1_12_2

      public ServerEvents1_12_2()
  • Method Details

    • defineEvents

      public void defineEvents()
      Specified by:
      defineEvents in interface mods.thecomputerizer.theimpossiblelibrary.api.common.event.CommonEventsAPI
    • getAABB

      public <A> mods.thecomputerizer.theimpossiblelibrary.api.shapes.Box getAABB(A aabb)
      Specified by:
      getAABB in interface mods.thecomputerizer.theimpossiblelibrary.api.common.event.CommonEventsAPI
    • getActionResult

      public <A> mods.thecomputerizer.theimpossiblelibrary.api.common.item.ActionResult getActionResult(A result)
      Specified by:
      getActionResult in interface mods.thecomputerizer.theimpossiblelibrary.api.common.event.CommonEventsAPI
    • getEventResult

      public <E> mods.thecomputerizer.theimpossiblelibrary.api.common.event.EventWrapper.Result getEventResult(E result)
      Specified by:
      getEventResult in interface mods.thecomputerizer.theimpossiblelibrary.api.common.event.CommonEventsAPI
    • getFacing

      public <D> mods.thecomputerizer.theimpossiblelibrary.api.common.block.Facing getFacing(D direction)
      Specified by:
      getFacing in interface mods.thecomputerizer.theimpossiblelibrary.api.common.event.CommonEventsAPI
    • getHand

      public <H> mods.thecomputerizer.theimpossiblelibrary.api.common.item.Hand getHand(H hand)
      Specified by:
      getHand in interface mods.thecomputerizer.theimpossiblelibrary.api.common.event.CommonEventsAPI
    • getVec3d

      public <V> mods.thecomputerizer.theimpossiblelibrary.api.shapes.vectors.Vector3 getVec3d(V vector)
      Specified by:
      getVec3d in interface mods.thecomputerizer.theimpossiblelibrary.api.common.event.CommonEventsAPI
    • isDefined

      public boolean isDefined()
      Specified by:
      isDefined in interface mods.thecomputerizer.theimpossiblelibrary.api.common.event.CommonEventsAPI
    • postCustomTick

      public void postCustomTick(mods.thecomputerizer.theimpossiblelibrary.api.util.CustomTick ticker)
      Specified by:
      postCustomTick in interface mods.thecomputerizer.theimpossiblelibrary.api.common.event.CommonEventsAPI
    • register

      public <E extends mods.thecomputerizer.theimpossiblelibrary.api.common.event.EventWrapper<?>> void register(E wrapper)
      Specified by:
      register in interface mods.thecomputerizer.theimpossiblelibrary.api.common.event.CommonEventsAPI
    • setAABB

      public net.minecraft.util.math.AxisAlignedBB setAABB(mods.thecomputerizer.theimpossiblelibrary.api.shapes.Box box)
      Specified by:
      setAABB in interface mods.thecomputerizer.theimpossiblelibrary.api.common.event.CommonEventsAPI
    • setActionResult

      public net.minecraft.util.EnumActionResult setActionResult(mods.thecomputerizer.theimpossiblelibrary.api.common.item.ActionResult result)
      Specified by:
      setActionResult in interface mods.thecomputerizer.theimpossiblelibrary.api.common.event.CommonEventsAPI
    • setEventResult

      public net.minecraftforge.fml.common.eventhandler.Event.Result setEventResult(mods.thecomputerizer.theimpossiblelibrary.api.common.event.EventWrapper.Result result)
      Specified by:
      setEventResult in interface mods.thecomputerizer.theimpossiblelibrary.api.common.event.CommonEventsAPI
    • setFacing

      @Nullable public net.minecraft.util.EnumFacing setFacing(@Nullable mods.thecomputerizer.theimpossiblelibrary.api.common.block.Facing facing)
      Specified by:
      setFacing in interface mods.thecomputerizer.theimpossiblelibrary.api.common.event.CommonEventsAPI
    • setHand

      public net.minecraft.util.EnumHand setHand(mods.thecomputerizer.theimpossiblelibrary.api.common.item.Hand hand)
      Specified by:
      setHand in interface mods.thecomputerizer.theimpossiblelibrary.api.common.event.CommonEventsAPI
    • setVec3d

      public net.minecraft.util.math.Vec3d setVec3d(mods.thecomputerizer.theimpossiblelibrary.api.shapes.vectors.Vector3 vector)
      Specified by:
      setVec3d in interface mods.thecomputerizer.theimpossiblelibrary.api.common.event.CommonEventsAPI