Class CorporeaInterceptorBlockEntity
java.lang.Object
net.minecraft.world.level.block.entity.BlockEntity
vazkii.botania.common.block.block_entity.BotaniaBlockEntity
vazkii.botania.common.block.block_entity.corporea.BaseCorporeaBlockEntity
vazkii.botania.common.block.block_entity.corporea.CorporeaInterceptorBlockEntity
- All Implemented Interfaces:
CorporeaInterceptor
public class CorporeaInterceptorBlockEntity
extends BaseCorporeaBlockEntity
implements CorporeaInterceptor
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.world.level.block.entity.BlockEntity
net.minecraft.world.level.block.entity.BlockEntity.DataComponentInput -
Field Summary
Fields inherited from class net.minecraft.world.level.block.entity.BlockEntity
level, remove, worldPosition -
Constructor Summary
ConstructorsConstructorDescriptionCorporeaInterceptorBlockEntity(net.minecraft.core.BlockPos pos, net.minecraft.world.level.block.state.BlockState state) -
Method Summary
Modifier and TypeMethodDescriptionvoidinterceptRequest(CorporeaRequestMatcher request, int count, CorporeaSpark spark, CorporeaSpark source, List<net.minecraft.world.item.ItemStack> stacks, Set<CorporeaNode> nodes, boolean doit) Intercepts a request as it goes.voidinterceptRequestLast(CorporeaRequestMatcher request, int count, CorporeaSpark spark, CorporeaSpark source, List<net.minecraft.world.item.ItemStack> stacks, Set<CorporeaNode> nodes, boolean doit) Intercepts a request after all the stacks have been found and processed.Methods inherited from class vazkii.botania.common.block.block_entity.corporea.BaseCorporeaBlockEntity
getSparkMethods inherited from class vazkii.botania.common.block.block_entity.BotaniaBlockEntity
getUpdatePacket, getUpdateTag, loadAdditional, readPacketNBT, saveAdditional, writePacketNBTMethods inherited from class net.minecraft.world.level.block.entity.BlockEntity
addEntityType, applyComponents, applyComponentsFromItemStack, applyImplicitComponents, clearRemoved, collectComponents, collectImplicitComponents, components, fillCrashReportCategory, getBlockPos, getBlockState, getLevel, getPosFromTag, getType, hasLevel, isRemoved, isValidBlockState, loadCustomOnly, loadStatic, loadWithComponents, onlyOpCanSetNbt, parseCustomNameSafe, removeComponentsFromTag, saveCustomAndMetadata, saveCustomOnly, saveToItem, saveWithFullMetadata, saveWithId, saveWithoutMetadata, setBlockState, setChanged, setChanged, setComponents, setLevel, setRemoved, triggerEvent
-
Constructor Details
-
CorporeaInterceptorBlockEntity
public CorporeaInterceptorBlockEntity(net.minecraft.core.BlockPos pos, net.minecraft.world.level.block.state.BlockState state)
-
-
Method Details
-
interceptRequest
public void interceptRequest(CorporeaRequestMatcher request, int count, CorporeaSpark spark, CorporeaSpark source, List<net.minecraft.world.item.ItemStack> stacks, Set<CorporeaNode> nodes, boolean doit) Description copied from interface:CorporeaInterceptorIntercepts a request as it goes. The list of nodes has all the nodes at this point, but the list of stacks is not complete.- Specified by:
interceptRequestin interfaceCorporeaInterceptor
-
interceptRequestLast
public void interceptRequestLast(CorporeaRequestMatcher request, int count, CorporeaSpark spark, CorporeaSpark source, List<net.minecraft.world.item.ItemStack> stacks, Set<CorporeaNode> nodes, boolean doit) Description copied from interface:CorporeaInterceptorIntercepts a request after all the stacks have been found and processed. Both the list of nodes and stacks is complete at this point.- Specified by:
interceptRequestLastin interfaceCorporeaInterceptor
-