Class RawPartData
java.lang.Object
org.cyclops.integrateddynamics.core.network.diagnostics.RawPartData
- All Implemented Interfaces:
IRawData
-
Constructor Summary
ConstructorsConstructorDescriptionRawPartData(net.minecraft.resources.ResourceKey<net.minecraft.world.level.Level> dimension, net.minecraft.core.BlockPos pos, net.minecraft.core.Direction side, String name, long last20TicksDurationNs) -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic RawPartDatafromNbt(net.minecraft.nbt.CompoundTag tag) net.minecraft.resources.ResourceKey<net.minecraft.world.level.Level> longgetName()net.minecraft.core.BlockPosgetPos()net.minecraft.core.DirectiongetSide()inthashCode()net.minecraft.nbt.CompoundTagtoNbt()toString()
-
Constructor Details
-
RawPartData
public RawPartData(net.minecraft.resources.ResourceKey<net.minecraft.world.level.Level> dimension, net.minecraft.core.BlockPos pos, net.minecraft.core.Direction side, String name, long last20TicksDurationNs)
-
-
Method Details
-
getDimension
public net.minecraft.resources.ResourceKey<net.minecraft.world.level.Level> getDimension() -
getPos
public net.minecraft.core.BlockPos getPos() -
getSide
public net.minecraft.core.Direction getSide() -
getName
-
getLast20TicksDurationNs
public long getLast20TicksDurationNs() -
toString
-
toNbt
public net.minecraft.nbt.CompoundTag toNbt() -
fromNbt
-
equals
-
hashCode
public int hashCode()
-