Interface IDhApiUnsafeWrapper

All Known Subinterfaces:
IDhApiBiomeWrapper, IDhApiBlockStateWrapper, IDhApiDimensionTypeWrapper, IDhApiLevelWrapper

public interface IDhApiUnsafeWrapper
Implemented by wrappers so developers can access the underlying Minecraft object(s).
Since:
API 1.0.0
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns the Minecraft object this wrapper contains.
  • Method Details

    • getWrappedMcObject

      Object getWrappedMcObject()
      Returns the Minecraft object this wrapper contains.
      Warning: This object will be Minecraft version dependent and may change without notice.

      In order to cast this object to something usable, you may want to use obj.getClass() when in your IDE in order to determine what object this method returns for the specific version of Minecraft you are developing for.