public abstract class PartTypeTerminal<P extends PartTypeTerminal<P,S>,S extends org.cyclops.integrateddynamics.api.part.IPartState<P>>
extends org.cyclops.integrateddynamics.core.part.panel.PartTypePanel<P,S>
org.cyclops.integrateddynamics.core.part.PartTypeBase.IEventAction<P extends org.cyclops.integrateddynamics.api.part.IPartType<P,S>,S extends org.cyclops.integrateddynamics.api.part.IPartState<P>,E extends org.cyclops.integrateddynamics.api.network.event.INetworkEvent>| Constructor and Description |
|---|
PartTypeTerminal(java.lang.String name) |
| Modifier and Type | Method and Description |
|---|---|
protected net.minecraft.block.Block |
createBlock(org.cyclops.cyclopscore.config.extendedconfig.BlockConfig blockConfig) |
org.cyclops.cyclopscore.init.ModBase |
getMod() |
boolean |
isUpdate(S state) |
net.minecraft.util.ActionResultType |
onPartActivated(S partState,
net.minecraft.util.math.BlockPos pos,
net.minecraft.world.World world,
net.minecraft.entity.player.PlayerEntity player,
net.minecraft.util.Hand hand,
net.minecraft.item.ItemStack heldItem,
net.minecraft.util.math.BlockRayTraceResult hit) |
constructNetworkEventActions, createItem, createNetworkElement, createTranslationKey, forceLightTransparency, getBaseBlockState, getBlock, getBlockModelPath, getBlockState, getItem, getPartRenderPosition, getSubscribedEvents, getUniqueName, hasEventSubscriptions, loadTooltip, onEvent, registerBlock, writeExtraGuiDataaddDrops, afterNetworkAlive, afterNetworkReAlive, beforeNetworkKill, constructDefaultState, fromNBT, getChannel, getConsumptionRate, getDefaultState, getItemStack, getMinimumUpdateInterval, getPickBlock, getPriority, getState, getTarget, getTargetSideOverride, getTranslationKey, getUpdateInterval, isEnabled, isSolid, loadTooltip, onBlockNeighborChange, onNetworkAddition, onNetworkRemoval, onPostRemoved, onPreRemoved, postUpdate, setEnabled, setPriorityAndChannel, setTargetSideOverride, setUpdateInterval, shouldTriggerBlockRenderUpdate, toNBT, update, updateTickpublic net.minecraft.util.ActionResultType onPartActivated(S partState, net.minecraft.util.math.BlockPos pos, net.minecraft.world.World world, net.minecraft.entity.player.PlayerEntity player, net.minecraft.util.Hand hand, net.minecraft.item.ItemStack heldItem, net.minecraft.util.math.BlockRayTraceResult hit)
onPartActivated in interface org.cyclops.integrateddynamics.api.part.IPartType<P extends PartTypeTerminal<P,S>,S extends org.cyclops.integrateddynamics.api.part.IPartState<P>>onPartActivated in class org.cyclops.integrateddynamics.core.part.PartTypeBase<P extends PartTypeTerminal<P,S>,S extends org.cyclops.integrateddynamics.api.part.IPartState<P>>protected net.minecraft.block.Block createBlock(org.cyclops.cyclopscore.config.extendedconfig.BlockConfig blockConfig)
public org.cyclops.cyclopscore.init.ModBase getMod()
public boolean isUpdate(S state)
isUpdate in interface org.cyclops.integrateddynamics.api.part.IPartType<P extends PartTypeTerminal<P,S>,S extends org.cyclops.integrateddynamics.api.part.IPartState<P>>isUpdate in class org.cyclops.integrateddynamics.api.part.PartTypeAdapter<P extends PartTypeTerminal<P,S>,S extends org.cyclops.integrateddynamics.api.part.IPartState<P>>