PowderSnowCauldronBlock
Importing the class
If you need to reference this type directly, like when casting an Array, or as a parameter, you will need to import it. Simply add the import at the top of the file.
import crafttweaker.api.block.type.cauldron.PowderSnowCauldronBlock;
Extends
PowderSnowCauldronBlock extends LayeredCauldronBlock
.
Implements
PowderSnowCauldronBlock
implements the following interfaces:
Undocumented Interfaces
IBlockExtension
,FeatureElement
Operators
myPowderSnowCauldronBlock | myCTBlockIngredient
Parameters:
other: BlockIngredient
Type: BlockIngredient
Return Type:
BlockIngredient
Members
// PowderSnowCauldronBlock as BlockIngredientmyPowderSnowCauldronBlock as CTBlockIngredient
Return Type:
BlockIngredient
***NOTE:*** Not all Blocks have Items, for instance, a Lit Redstone Lamp does not have an Item.
Returns: The Item representation of this Block.
myPowderSnowCauldronBlock.asItem();
Return Type:
ItemDefinition
***NOTE:*** Not all Blocks have Items, for instance, a Lit Redstone Lamp does not have an Item.
// PowderSnowCauldronBlock as ItemDefinitionmyPowderSnowCauldronBlock as Item
Return Type:
ItemDefinition
// PowderSnowCauldronBlock as ItemDefinitionmyPowderSnowCauldronBlock as Item
Return Type:
ItemDefinition
E.G.
<block:minecraft:dirt>
// PowderSnowCauldronBlock.commandString as stringmyPowderSnowCauldronBlock.commandString
Return Type:
string
E.G.
<block:minecraft:dirt>
Returns: The block bracket handler syntax for this Block.
// PowderSnowCauldronBlock.commandString() as string;myPowderSnowCauldronBlock.commandString();
Return Type:
string
E.G.
<block:minecraft:dirt>
// PowderSnowCauldronBlock as stringmyPowderSnowCauldronBlock as string
Return Type:
string
BlockState
of this Block.// PowderSnowCauldronBlock.defaultState as BlockStatemyPowderSnowCauldronBlock.defaultState
Return Type:
BlockState
BlockState
of this Block.Returns: The default BlockState
of this Block.
myPowderSnowCauldronBlock.defaultState();
Return Type:
BlockState
// PowderSnowCauldronBlock.descriptionId as stringmyPowderSnowCauldronBlock.descriptionId
Return Type:
string
Returns: The unlocalized name of this block.
// PowderSnowCauldronBlock.descriptionId() as string;myPowderSnowCauldronBlock.descriptionId();
Return Type:
string
// PowderSnowCauldronBlock.dynamicShape as boolmyPowderSnowCauldronBlock.dynamicShape
Return Type:
bool
Returns: True if this Block has variable opacity. False otherwise.
// PowderSnowCauldronBlock.dynamicShape() as bool;myPowderSnowCauldronBlock.dynamicShape();
Return Type:
bool
// PowderSnowCauldronBlock.explosionResistance as floatmyPowderSnowCauldronBlock.explosionResistance
Return Type:
float
// PowderSnowCauldronBlock.explosionResistance = (resistance as float);myPowderSnowCauldronBlock.explosionResistance = myFloat;
Parameters:
resistance: float
Type: float
- The new blast resistance of this Block. Returns: The blast resistance of this Block.
// PowderSnowCauldronBlock.explosionResistance() as float;myPowderSnowCauldronBlock.explosionResistance();
Return Type:
float
// PowderSnowCauldronBlock.explosionResistance(resistance as float);myPowderSnowCauldronBlock.explosionResistance(2);
Parameters:
resistance: float
Type: float
- The new blast resistance of this Block. // PowderSnowCauldronBlock.friction as floatmyPowderSnowCauldronBlock.friction
Return Type:
float
// PowderSnowCauldronBlock.friction = (friction as float);myPowderSnowCauldronBlock.friction = myFloat;
Parameters:
friction: float
Type: float
- The new friction of this Block. Returns: The friction of this Block.
// PowderSnowCauldronBlock.friction() as float;myPowderSnowCauldronBlock.friction();
Return Type:
float
// PowderSnowCauldronBlock.friction(friction as float);myPowderSnowCauldronBlock.friction(2);
Parameters:
friction: float
Type: float
- The new friction of this Block. // PowderSnowCauldronBlock.hasCollision as boolmyPowderSnowCauldronBlock.hasCollision
Return Type:
bool
// PowderSnowCauldronBlock.hasCollision = (canCollide as bool);myPowderSnowCauldronBlock.hasCollision = myBool;
Parameters:
canCollide: bool
Type: bool
- Can entities collide with this Block. Returns: True if entities will collide with this Block. False otherwise.
// PowderSnowCauldronBlock.hasCollision() as bool;myPowderSnowCauldronBlock.hasCollision();
Return Type:
bool
// PowderSnowCauldronBlock.hasCollision(canCollide as bool);myPowderSnowCauldronBlock.hasCollision(true);
Parameters:
canCollide: bool
Type: bool
- Can entities collide with this Block. Returns: True if full, false otherwise.
myPowderSnowCauldronBlock.isFull(<blockstate:minecraft:cauldron:level=3>);
Parameters:
Return Type:
bool
This is used to find valid spawn locations for players.
Returns: True if an entity can be spawned in this Block. False Otherwise.
myPowderSnowCauldronBlock.isPossibleToRespawnInThis(myBlockState);
Parameters:
state: BlockState
Type: BlockState
Return Type:
bool
// PowderSnowCauldronBlock.jumpFactor as floatmyPowderSnowCauldronBlock.jumpFactor
Return Type:
float
// PowderSnowCauldronBlock.jumpFactor = (jumpFactor as float);myPowderSnowCauldronBlock.jumpFactor = myFloat;
Parameters:
jumpFactor: float
Type: float
- The new jump factor of this Block. Returns: The jump factor of this Block.
// PowderSnowCauldronBlock.jumpFactor() as float;myPowderSnowCauldronBlock.jumpFactor();
Return Type:
float
// PowderSnowCauldronBlock.jumpFactor(jumpFactor as float);myPowderSnowCauldronBlock.jumpFactor(2);
Parameters:
jumpFactor: float
Type: float
- The new jump factor of this Block. // PowderSnowCauldronBlock.lootTable as stringmyPowderSnowCauldronBlock.lootTable
Return Type:
string
Returns: The loot table id for this Block.
// PowderSnowCauldronBlock.lootTable() as string;myPowderSnowCauldronBlock.lootTable();
Return Type:
string
// PowderSnowCauldronBlock.lowerFillLevel(blockState as BlockState, level as Level, position as BlockPos);PowderSnowCauldronBlock.lowerFillLevel(<blockstate:minecraft:cauldron:level=3>, level, new BlockPos(1, 2, 3););
Parameters:
Returns: True if this Block matches the other Block. False otherwise.
myPowderSnowCauldronBlock.matches(myBlock);
Return Type:
bool
// PowderSnowCauldronBlock.name as MutableComponentmyPowderSnowCauldronBlock.name
Return Type:
MutableComponent
Returns: The name of this block.
myPowderSnowCauldronBlock.name();
Return Type:
MutableComponent
BlockState
s for this Block.myPowderSnowCauldronBlock.possibleStates
Return Type:
List<BlockState>
BlockState
s for this Block.Returns: A list of valid BlockState
s for this Block.
myPowderSnowCauldronBlock.possibleStates();
Return Type:
List<BlockState>
// PowderSnowCauldronBlock.registryName as ResourceLocationmyPowderSnowCauldronBlock.registryName
Return Type:
ResourceLocation
Returns: A ResourceLocation of the registry name of this block.
myPowderSnowCauldronBlock.registryName();
Return Type:
ResourceLocation
// PowderSnowCauldronBlock.speedFactor as floatmyPowderSnowCauldronBlock.speedFactor
Return Type:
float
// PowderSnowCauldronBlock.speedFactor = (speedFactor as float);myPowderSnowCauldronBlock.speedFactor = myFloat;
Parameters:
speedFactor: float
Type: float
- The new speed factor of this Block. Returns: The speed factor of this Block.
// PowderSnowCauldronBlock.speedFactor() as float;myPowderSnowCauldronBlock.speedFactor();
Return Type:
float
// PowderSnowCauldronBlock.speedFactor(speedFactor as float);myPowderSnowCauldronBlock.speedFactor(2);
Parameters:
speedFactor: float
Type: float
- The new speed factor of this Block.