Class Network
java.lang.Object
com.hrznstudio.titanium.block_network.Network
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleangetElement(net.minecraft.core.BlockPos pos) getId()abstract net.minecraft.resources.ResourceLocationgetType()inthashCode()abstract voidonMergedWith(Network mainNetwork) scanGraph(net.minecraft.world.level.Level level, net.minecraft.core.BlockPos pos) voidsetOriginPos(net.minecraft.core.BlockPos originPos) voidupdate(net.minecraft.world.level.Level level) net.minecraft.nbt.CompoundTagwriteToNbt(net.minecraft.nbt.CompoundTag tag)
-
Field Details
-
graph
-
-
Constructor Details
-
Network
-
-
Method Details
-
setOriginPos
public void setOriginPos(net.minecraft.core.BlockPos originPos) -
getId
-
scanGraph
public NetworkGraphScannerResult scanGraph(net.minecraft.world.level.Level level, net.minecraft.core.BlockPos pos) -
writeToNbt
public net.minecraft.nbt.CompoundTag writeToNbt(net.minecraft.nbt.CompoundTag tag) -
update
public void update(net.minecraft.world.level.Level level) -
getElement
-
onMergedWith
-
getType
public abstract net.minecraft.resources.ResourceLocation getType() -
equals
-
hashCode
public int hashCode()
-