Class PartTypePanel<P extends PartTypePanel<P,S>,S extends IPartState<P>>

All Implemented Interfaces:
INetworkEventListener<IPartNetworkElement<P,S>>, IPartType<P,S>
Direct Known Subclasses:
PartTypePanelLightStatic, PartTypePanelVariableDriven

public abstract class PartTypePanel<P extends PartTypePanel<P,S>,S extends IPartState<P>> extends PartTypeBase<P,S>
A base part that is flat and can be used to render things on.
  • Constructor Details

    • PartTypePanel

      public PartTypePanel(String name)
  • Method Details

    • createBlock

      protected net.minecraft.world.level.block.Block createBlock(org.cyclops.cyclopscore.config.extendedconfig.BlockConfig blockConfig)
      Description copied from class: PartTypeBase
      Factory method for creating a block instance.
      Overrides:
      createBlock in class PartTypeBase<P extends PartTypePanel<P,S>,S extends IPartState<P>>
      Parameters:
      blockConfig - The config to register the block for.
      Returns:
      The block instance.