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;
PowderSnowCauldronBlock extends LayeredCauldronBlock
.
PowderSnowCauldronBlock
implements the following interfaces:
ItemLike
Undocumented Interfaces IForgeBlock
, FeatureElement
myPowderSnowCauldronBlock | myCTBlockIngredient
Return Type:
BlockIngredient
Checks whether this Block matches another Block. // (PowderSnowCauldronBlock == (other as Block )) as bool myPowderSnowCauldronBlock == myBlock
Parameters:
other: Block
Type: Block
- The other Block to check if this Block matches.
Return Type:
bool
myPowderSnowCauldronBlock as CTBlockIngredient
Return Type:
BlockIngredient
Gets the Item representation of this Block. ***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
Gets the Item representation of this Block. ***NOTE:*** Not all Blocks have Items, for instance, a Lit Redstone Lamp does not have an Item. myPowderSnowCauldronBlock as Item
Return Type:
ItemDefinition
Gets the block bracket handler syntax for this Block. E.G. <block:minecraft:dirt>
// PowderSnowCauldronBlock.commandString as string
myPowderSnowCauldronBlock . commandString
Return Type:
string
Gets the block bracket handler syntax for this Block. E.G. <block:minecraft:dirt>
Returns : The block bracket handler syntax for this Block.
// PowderSnowCauldronBlock.commandString() as string;
myPowderSnowCauldronBlock . commandString();
Return Type:
string
Gets the block bracket handler syntax for this Block. E.G. <block:minecraft:dirt>
// PowderSnowCauldronBlock as string
myPowderSnowCauldronBlock as string
Return Type:
string
Gets the default BlockState
of this Block. // PowderSnowCauldronBlock.defaultState as BlockState myPowderSnowCauldronBlock . defaultState
Return Type:
BlockState
Gets the default BlockState
of this Block. Returns : The default BlockState
of this Block.
// PowderSnowCauldronBlock.defaultState() as BlockState ; myPowderSnowCauldronBlock . defaultState();
Return Type:
BlockState
Gets the translation key that is used to localize this Block. // PowderSnowCauldronBlock.descriptionId as string
myPowderSnowCauldronBlock . descriptionId
Return Type:
string
Gets the translation key that is used to localize this Block. Returns : The unlocalized name of this block.
// PowderSnowCauldronBlock.descriptionId() as string;
myPowderSnowCauldronBlock . descriptionId();
Return Type:
string
Checks if the opacity of this block is different in different areas of the Block. // PowderSnowCauldronBlock.dynamicShape as bool
myPowderSnowCauldronBlock . dynamicShape
Return Type:
bool
Checks if the opacity of this block is different in different areas of the Block. Returns : True if this Block has variable opacity. False otherwise.
// PowderSnowCauldronBlock.dynamicShape() as bool;
myPowderSnowCauldronBlock . dynamicShape();
Return Type:
bool
Gets the blast resistance of this Block. // PowderSnowCauldronBlock.explosionResistance as float
myPowderSnowCauldronBlock . explosionResistance
Return Type:
float
Sets the blast resistance of this Block. // PowderSnowCauldronBlock.explosionResistance = (resistance as float);
myPowderSnowCauldronBlock . explosionResistance = myFloat;
Parameters:
resistance: float
Type: float
- The new blast resistance of this Block.
Gets the blast resistance of this Block. Returns : The blast resistance of this Block.
// PowderSnowCauldronBlock.explosionResistance() as float;
myPowderSnowCauldronBlock . explosionResistance();
Return Type:
float
Sets the blast resistance of this Block. // PowderSnowCauldronBlock.explosionResistance(resistance as float);
myPowderSnowCauldronBlock . explosionResistance( 2 );
Parameters:
resistance: float
Type: float
- The new blast resistance of this Block.
Gets the friction of this Block. // PowderSnowCauldronBlock.friction as float
myPowderSnowCauldronBlock . friction
Return Type:
float
Sets the friction of this Block. // PowderSnowCauldronBlock.friction = (friction as float);
myPowderSnowCauldronBlock . friction = myFloat;
Parameters:
friction: float
Type: float
- The new friction of this Block.
Gets the friction of this Block. Returns : The friction of this Block.
// PowderSnowCauldronBlock.friction() as float;
myPowderSnowCauldronBlock . friction();
Return Type:
float
Sets the friction of this Block. // PowderSnowCauldronBlock.friction(friction as float);
myPowderSnowCauldronBlock . friction( 2 );
Parameters:
friction: float
Type: float
- The new friction of this Block.
Checks if entities can collide with this Block. // PowderSnowCauldronBlock.hasCollision as bool
myPowderSnowCauldronBlock . hasCollision
Return Type:
bool
Sets whether entities can collide with this Block. // PowderSnowCauldronBlock.hasCollision = (canCollide as bool);
myPowderSnowCauldronBlock . hasCollision = myBool;
Parameters:
canCollide: bool
Type: bool
- Can entities collide with this Block.
Checks if entities can collide with this Block. Returns : True if entities will collide with this Block. False otherwise.
// PowderSnowCauldronBlock.hasCollision() as bool;
myPowderSnowCauldronBlock . hasCollision();
Return Type:
bool
Sets whether entities can collide with this Block. // PowderSnowCauldronBlock.hasCollision(canCollide as bool);
myPowderSnowCauldronBlock . hasCollision( true );
Parameters:
canCollide: bool
Type: bool
- Can entities collide with this Block.
Checks if this cauldron is full. Returns : True if full, false otherwise.
// PowderSnowCauldronBlock.isFull(blockState as BlockState ) as bool; myPowderSnowCauldronBlock . isFull( < blockstate : minecraft:cauldron:level=3 > );
Return Type:
bool
Checks if an entity can be spawned inside this Block. This is used to find valid spawn locations for players. Returns : True if an entity can be spawned in this Block. False Otherwise.
// PowderSnowCauldronBlock.isPossibleToRespawnInThis(state as BlockState ) as bool; myPowderSnowCauldronBlock . isPossibleToRespawnInThis(myBlockState);
Return Type:
bool
Gets the jump factor of this Block. // PowderSnowCauldronBlock.jumpFactor as float
myPowderSnowCauldronBlock . jumpFactor
Return Type:
float
Sets the jump factor of this Block. // PowderSnowCauldronBlock.jumpFactor = (jumpFactor as float);
myPowderSnowCauldronBlock . jumpFactor = myFloat;
Parameters:
jumpFactor: float
Type: float
- The new jump factor of this Block.
Gets the jump factor of this Block. Returns : The jump factor of this Block.
// PowderSnowCauldronBlock.jumpFactor() as float;
myPowderSnowCauldronBlock . jumpFactor();
Return Type:
float
Sets the jump factor of this Block. // PowderSnowCauldronBlock.jumpFactor(jumpFactor as float);
myPowderSnowCauldronBlock . jumpFactor( 2 );
Parameters:
jumpFactor: float
Type: float
- The new jump factor of this Block.
Gets the loot table id for this Block. // PowderSnowCauldronBlock.lootTable as string
myPowderSnowCauldronBlock . lootTable
Return Type:
string
Gets the loot table id for this Block. Returns : The loot table id for this Block.
// PowderSnowCauldronBlock.lootTable() as string;
myPowderSnowCauldronBlock . lootTable();
Return Type:
string
Lowers the fill level of the layered Cauldron at the given position. PowderSnowCauldronBlock . lowerFillLevel( < blockstate : minecraft:cauldron:level=3 > , level, new BlockPos( 1 , 2 , 3 ););
Checks whether this Block matches another Block. Returns : True if this Block matches the other Block. False otherwise.
// PowderSnowCauldronBlock.matches(other as Block ) as bool; myPowderSnowCauldronBlock . matches(myBlock);
Parameters:
other: Block
Type: Block
- The other Block to check if this Block matches.
Return Type:
bool
Gets the name of this Block myPowderSnowCauldronBlock . name
Return Type:
MutableComponent
Gets the name of this Block Returns : The name of this block.
myPowderSnowCauldronBlock . name();
Return Type:
MutableComponent
Gets a list of valid BlockState
s for this Block. // PowderSnowCauldronBlock.possibleStates as List< BlockState > myPowderSnowCauldronBlock . possibleStates
Return Type:
List <BlockState >
Gets a list of valid BlockState
s for this Block. Returns : A list of valid BlockState
s for this Block.
// PowderSnowCauldronBlock.possibleStates() as List< BlockState >; myPowderSnowCauldronBlock . possibleStates();
Return Type:
List <BlockState >
Gets the registry name of this block. myPowderSnowCauldronBlock . registryName
Return Type:
ResourceLocation
Gets the registry name of this block. Returns : A ResourceLocation of the registry name of this block.
myPowderSnowCauldronBlock . registryName();
Return Type:
ResourceLocation
Gets the speed factor of this Block. // PowderSnowCauldronBlock.speedFactor as float
myPowderSnowCauldronBlock . speedFactor
Return Type:
float
Sets the speed factor of this Block. // PowderSnowCauldronBlock.speedFactor = (speedFactor as float);
myPowderSnowCauldronBlock . speedFactor = myFloat;
Parameters:
speedFactor: float
Type: float
- The new speed factor of this Block.
Gets the speed factor of this Block. Returns : The speed factor of this Block.
// PowderSnowCauldronBlock.speedFactor() as float;
myPowderSnowCauldronBlock . speedFactor();
Return Type:
float
Sets the speed factor of this Block. // PowderSnowCauldronBlock.speedFactor(speedFactor as float);
myPowderSnowCauldronBlock . speedFactor( 2 );
Parameters:
speedFactor: float
Type: float
- The new speed factor of this Block.