Class OpenEndedPipe
java.lang.Object
com.simibubi.create.content.fluids.FlowSource
com.simibubi.create.content.fluids.OpenEndedPipe
-
Nested Class Summary
Nested classes/interfaces inherited from class com.simibubi.create.content.fluids.FlowSource
FlowSource.Blocked, FlowSource.FluidHandler, FlowSource.OtherPipe -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic OpenEndedPipefromNBT(net.minecraft.nbt.CompoundTag compound, net.minecraft.core.HolderLookup.Provider registries, net.minecraft.core.BlockPos blockEntityPos) net.minecraft.world.phys.AABBgetAOE()net.minecraft.core.BlockPosnet.minecraft.core.BlockPosgetPos()net.minecraft.world.level.LevelgetWorld()booleanvoidmanageSource(net.minecraft.world.level.Level world) @Nullable ICapabilityProvider<net.neoforged.neoforge.fluids.capability.IFluidHandler> net.minecraft.nbt.CompoundTagserializeNBT(net.minecraft.core.HolderLookup.Provider registries) Methods inherited from class com.simibubi.create.content.fluids.FlowSource
keepAlive, provideFluid, whileFlowPresent
-
Constructor Details
-
OpenEndedPipe
public OpenEndedPipe(net.createmod.catnip.math.BlockFace face)
-
-
Method Details
-
getWorld
public net.minecraft.world.level.Level getWorld() -
getPos
public net.minecraft.core.BlockPos getPos() -
getOutputPos
public net.minecraft.core.BlockPos getOutputPos() -
getAOE
public net.minecraft.world.phys.AABB getAOE() -
manageSource
public void manageSource(net.minecraft.world.level.Level world) - Overrides:
manageSourcein classFlowSource
-
provideHandler
@Nullable public @Nullable ICapabilityProvider<net.neoforged.neoforge.fluids.capability.IFluidHandler> provideHandler()- Overrides:
provideHandlerin classFlowSource
-
isEndpoint
public boolean isEndpoint()- Specified by:
isEndpointin classFlowSource
-
serializeNBT
public net.minecraft.nbt.CompoundTag serializeNBT(net.minecraft.core.HolderLookup.Provider registries) -
fromNBT
public static OpenEndedPipe fromNBT(net.minecraft.nbt.CompoundTag compound, net.minecraft.core.HolderLookup.Provider registries, net.minecraft.core.BlockPos blockEntityPos)
-