public class BlockFluidConverter
extends org.cyclops.cyclopscore.config.configurable.ConfigurableBlockContainer
| Modifier and Type | Field and Description |
|---|---|
static net.minecraftforge.common.property.IUnlistedProperty<FluidGroup> |
FLUID_GROUP |
static net.minecraftforge.common.property.IUnlistedProperty<java.util.Map<net.minecraft.util.EnumFacing,net.minecraftforge.fluids.Fluid>> |
FLUID_OUTPUTS |
net.minecraft.client.renderer.texture.TextureAtlasSprite |
fluidCenterTexture |
net.minecraft.client.renderer.texture.TextureAtlasSprite |
fluidOpenTexture |
eConfig, hasGui, isInventoryBlock, pass, propertyManager, randomBLOCK_STATE_IDS, blockHardness, blockMapColor, blockParticleGravity, blockResistance, blockSoundType, blockState, capturedDrops, captureDrops, enableStats, FULL_BLOCK_AABB, fullBlock, harvesters, hasTileEntity, lightOpacity, lightValue, material, needsRandomTick, NULL_AABB, RANDOM, REGISTRY, slipperiness, translucent, useNeighborBrightness| Constructor and Description |
|---|
BlockFluidConverter(org.cyclops.cyclopscore.config.extendedconfig.ExtendedConfig eConfig)
Make a new fluid converter block instance.
|
| Modifier and Type | Method and Description |
|---|---|
net.minecraft.client.renderer.block.model.IBakedModel |
createDynamicModel() |
static net.minecraft.item.ItemStack |
createItemStack(FluidGroup fluidGroup)
Creates an item stack with a fluid converter for the given fluid group.
|
net.minecraft.block.state.IBlockState |
getExtendedState(net.minecraft.block.state.IBlockState state,
net.minecraft.world.IBlockAccess world,
net.minecraft.util.math.BlockPos pos) |
static BlockFluidConverter |
getInstance()
Get the unique instance of this class.
|
void |
getSubBlocks(net.minecraft.creativetab.CreativeTabs tab,
net.minecraft.util.NonNullList<net.minecraft.item.ItemStack> list) |
boolean |
hasDynamicModel() |
boolean |
onBlockActivated(net.minecraft.world.World world,
net.minecraft.util.math.BlockPos pos,
net.minecraft.block.state.IBlockState state,
net.minecraft.entity.player.EntityPlayer player,
net.minecraft.util.EnumHand hand,
net.minecraft.util.EnumFacing side,
float hitX,
float hitY,
float hitZ) |
void |
onModelBakeEvent(net.minecraftforge.client.event.ModelBakeEvent event) |
breakBlock, createBlockState, createDelegatedBlockState, createNewTileEntity, destroyBlock, getBlockColorHandler, getConfig, getDrops, getGuiTexture, getGuiTexture, getMetaFromState, getPickBlock, getRenderType, getStateForPlacement, getStateFromMeta, getTileEntity, hasGui, isDropBlockItem, isKeepNBTOnDrop, isRotatable, onBlockExploded, onBlockPlacedBy, onPostBlockDestroyed, onPreBlockDestroyed, onPreBlockDestroyed, onPreBlockDestroyedPersistence, removedByPlayer, saveNBTToDroppedItem, setRotatable, tileDataToItemStack, writeAdditionalInfoeventReceived, harvestBlock, hasInvalidNeighbor, isInvalidNeighboraddCollisionBoxToList, addCollisionBoxToList, addDestroyEffects, addHitEffects, addInformation, addLandingEffects, addRunningEffects, beginLeavesDecay, canBeConnectedTo, canBeReplacedByLeaves, canCollideCheck, canConnectRedstone, canCreatureSpawn, canDropFromExplosion, canEntityDestroy, canEntitySpawn, canHarvestBlock, canPlaceBlockAt, canPlaceBlockOnSide, canPlaceTorchOnTop, canProvidePower, canRenderInLayer, canSilkHarvest, canSilkHarvest, canSpawnInBlock, canSustainLeaves, canSustainPlant, captureDrops, causesSuffocation, collisionRayTrace, createTileEntity, damageDropped, disableStats, doesSideBlockChestOpening, doesSideBlockRendering, dropBlockAsItem, dropBlockAsItemWithChance, dropXpOnBlockBreak, fillWithRain, getActualState, getAiPathNodeType, getAmbientOcclusionLightValue, getBeaconColorMultiplier, getBedDirection, getBedSpawnPosition, getBlockById, getBlockFaceShape, getBlockFromItem, getBlockFromName, getBlockHardness, getBlockState, getBoundingBox, getCollisionBoundingBox, getComparatorInputOverride, getCreativeTab, getDefaultState, getDrops, getEnableStats, getEnchantPowerBonus, getExpDrop, getExplosionResistance, getExplosionResistance, getFireSpreadSpeed, getFlammability, getFogColor, getHarvestLevel, getHarvestTool, getIdFromBlock, getItem, getItemDropped, getLightOpacity, getLightOpacity, getLightValue, getLightValue, getLocalizedName, getMapColor, getMaterial, getOffset, getOffsetType, getPackedLightmapCoords, getPlayerRelativeBlockHardness, getPushReaction, getRenderLayer, getSelectedBoundingBox, getSilkTouchDrop, getSlipperiness, getSoundType, getSoundType, getStateAtViewpoint, getStateById, getStateForPlacement, getStateId, getStrongPower, getTickRandomly, getTranslationKey, getUseNeighborBrightness, getValidRotations, getWeakChanges, getWeakPower, hasComparatorInputOverride, hasCustomBreakingProgress, hasTileEntity, hasTileEntity, isAABBInsideLiquid, isAABBInsideMaterial, isAir, isAssociatedBlock, isBeaconBase, isBed, isBedFoot, isBlockNormalCube, isBurning, isCollidable, isEntityInsideMaterial, isEqualTo, isExceptBlockForAttachWithPiston, isExceptionBlockForAttaching, isFertile, isFireSource, isFlammable, isFoliage, isFullBlock, isFullCube, isLadder, isLeaves, isNormalCube, isNormalCube, isOpaqueCube, isPassable, isReplaceable, isReplaceableOreGen, isSideSolid, isStickyBlock, isToolEffective, isTopSolid, isTranslucent, isWood, modifyAcceleration, neighborChanged, observedNeighborChange, onBlockAdded, onBlockClicked, onBlockHarvested, onEntityCollision, onEntityWalk, onExplosionDestroy, onFallenUpon, onLanded, onNeighborChange, onPlantGrow, onPlayerDestroy, quantityDropped, quantityDropped, quantityDroppedWithBonus, randomDisplayTick, randomTick, rayTrace, recolorBlock, registerBlocks, requiresUpdates, rotateBlock, setBedOccupied, setBlockUnbreakable, setCreativeTab, setDefaultSlipperiness, setDefaultState, setHardness, setHarvestLevel, setHarvestLevel, setLightLevel, setLightOpacity, setResistance, setSoundType, setTickRandomly, setTranslationKey, shouldCheckWeakPower, shouldSideBeRendered, spawnAsEntity, tickRate, toString, updateTick, withMirror, withRotationpublic static final net.minecraftforge.common.property.IUnlistedProperty<FluidGroup> FLUID_GROUP
public static final net.minecraftforge.common.property.IUnlistedProperty<java.util.Map<net.minecraft.util.EnumFacing,net.minecraftforge.fluids.Fluid>> FLUID_OUTPUTS
public net.minecraft.client.renderer.texture.TextureAtlasSprite fluidOpenTexture
public net.minecraft.client.renderer.texture.TextureAtlasSprite fluidCenterTexture
public BlockFluidConverter(org.cyclops.cyclopscore.config.extendedconfig.ExtendedConfig eConfig)
eConfig - Config for this blockState.public static BlockFluidConverter getInstance()
public void getSubBlocks(net.minecraft.creativetab.CreativeTabs tab,
net.minecraft.util.NonNullList<net.minecraft.item.ItemStack> list)
getSubBlocks in class net.minecraft.block.Blockpublic boolean onBlockActivated(net.minecraft.world.World world,
net.minecraft.util.math.BlockPos pos,
net.minecraft.block.state.IBlockState state,
net.minecraft.entity.player.EntityPlayer player,
net.minecraft.util.EnumHand hand,
net.minecraft.util.EnumFacing side,
float hitX,
float hitY,
float hitZ)
onBlockActivated in class net.minecraft.block.Blockpublic boolean hasDynamicModel()
hasDynamicModel in interface org.cyclops.cyclopscore.client.model.IDynamicModelElementhasDynamicModel in class org.cyclops.cyclopscore.config.configurable.ConfigurableBlockContainerpublic net.minecraft.client.renderer.block.model.IBakedModel createDynamicModel()
createDynamicModel in interface org.cyclops.cyclopscore.client.model.IDynamicModelElementcreateDynamicModel in class org.cyclops.cyclopscore.config.configurable.ConfigurableBlockContainerpublic net.minecraft.block.state.IBlockState getExtendedState(net.minecraft.block.state.IBlockState state,
net.minecraft.world.IBlockAccess world,
net.minecraft.util.math.BlockPos pos)
getExtendedState in class net.minecraft.block.Blockpublic void onModelBakeEvent(net.minecraftforge.client.event.ModelBakeEvent event)
onModelBakeEvent in class org.cyclops.cyclopscore.config.configurable.ConfigurableBlockContainerpublic static net.minecraft.item.ItemStack createItemStack(FluidGroup fluidGroup)
fluidGroup - A fluid group for the fluid converter.