Class DimensionTypeRef.IdRef
java.lang.Object
com.github.retrooper.packetevents.protocol.world.dimension.DimensionTypeRef.IdRef
- All Implemented Interfaces:
DimensionTypeRef
- Enclosing interface:
DimensionTypeRef
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.github.retrooper.packetevents.protocol.world.dimension.DimensionTypeRef
DimensionTypeRef.DataRef, DimensionTypeRef.DirectRef, DimensionTypeRef.IdRef, DimensionTypeRef.NameRef -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintgetId()resolve(IRegistry<DimensionType> registry, ClientVersion version) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.github.retrooper.packetevents.protocol.world.dimension.DimensionTypeRef
getData, getName
-
Constructor Details
-
IdRef
public IdRef(int id)
-
-
Method Details
-
resolve
- Specified by:
resolvein interfaceDimensionTypeRef
-
getId
public int getId()- Specified by:
getIdin interfaceDimensionTypeRef
-