public static interface PneumaticRegistry.IPneumaticCraftInterface
PneumaticRegistry.getInstance()| Modifier and Type | Method and Description |
|---|---|
IAirHandlerMachineFactory |
getAirHandlerMachineFactory() |
IDroneRegistry |
getDroneRegistry() |
IFuelRegistry |
getFuelRegistry() |
IClientRegistry |
getGuiRegistry() |
IHeatRegistry |
getHeatRegistry() |
IPneumaticHelmetRegistry |
getHelmetRegistry() |
IItemRegistry |
getItemRegistry() |
int |
getProtectingSecurityStations(net.minecraft.entity.player.PlayerEntity player,
net.minecraft.util.math.BlockPos pos)
Returns the number of Security Stations that disallow interaction with the given coordinate for the given
player.
|
int |
getProtectingSecurityStations(net.minecraft.entity.player.PlayerEntity player,
net.minecraft.util.math.BlockPos pos,
boolean showRangeLines)
Deprecated.
|
IPneumaticRecipeRegistry |
getRecipeRegistry() |
ISensorRegistry |
getSensorRegistry() |
void |
registerXPFluid(FluidIngredient fluid,
int liquidToPointRatio)
Register a fluid ingredient that represents liquid XP.
|
void |
registerXPFluid(net.minecraft.fluid.Fluid fluid,
int liquidToPointRatio)
Deprecated.
|
net.minecraft.util.ResourceLocation |
RL(java.lang.String path)
Deprecated.
|
void |
syncGlobalVariable(net.minecraft.entity.player.ServerPlayerEntity player,
java.lang.String varName)
Sync a global variable from server to client for the given player.
|
IPneumaticRecipeRegistry getRecipeRegistry()
IAirHandlerMachineFactory getAirHandlerMachineFactory()
IPneumaticHelmetRegistry getHelmetRegistry()
IDroneRegistry getDroneRegistry()
IHeatRegistry getHeatRegistry()
IClientRegistry getGuiRegistry()
ISensorRegistry getSensorRegistry()
IItemRegistry getItemRegistry()
IFuelRegistry getFuelRegistry()
@Deprecated
int getProtectingSecurityStations(net.minecraft.entity.player.PlayerEntity player,
net.minecraft.util.math.BlockPos pos,
boolean showRangeLines)
getProtectingSecurityStations(PlayerEntity, BlockPos)player - the player who is trying to access the blockpos - blockpos of the block being testedshowRangeLines - this is ignored and will disappear in a future releasejava.lang.IllegalArgumentException - when called from the client sideint getProtectingSecurityStations(net.minecraft.entity.player.PlayerEntity player,
net.minecraft.util.math.BlockPos pos)
player - the player who is trying to access the blockpos - blockpos of the block being testedjava.lang.IllegalArgumentException - when called from the client side@Deprecated
void registerXPFluid(net.minecraft.fluid.Fluid fluid,
int liquidToPointRatio)
registerXPFluid(FluidIngredient, int)registerXPFluid(FluidIngredient, int).fluid - the fluid to registerliquidToPointRatio - the amount of fluid (in mB) for one XP point; use a value of 0 or less to
unregister this fluidvoid registerXPFluid(FluidIngredient fluid, int liquidToPointRatio)
fluid - the fluid tag to register; all fluids in this tag will have the given XP valueliquidToPointRatio - the amount of fluid (in mB) for one XP point; use a value of 0 or less to
unregister all fluids matching this fluid ingredient@Deprecated net.minecraft.util.ResourceLocation RL(java.lang.String path)
PneumaticRegistry.RL(String)path - a pathvoid syncGlobalVariable(net.minecraft.entity.player.ServerPlayerEntity player,
java.lang.String varName)
IPositionProvider.syncVariables(ServerPlayerEntity, ItemStack)player - the player to sync tovarName - the global variable name (with or without the leading '#')