41class CauldronBlock :
public ::ActorBlock {
49 virtual bool addCollisionShapes(
53 ::AABB const* intersectTestBox,
54 ::std::vector<::AABB>& inoutBoxes,
58 virtual ::HitResult clip(
64 ::ShapeType shapeType,
68 virtual void addAABBs(
72 ::AABB const* intersectTestBox,
73 ::std::vector<::AABB>& inoutBoxes
76 virtual bool canProvideSupport(
::Block const& face, uchar type, ::BlockSupportType)
const ;
79 handlePrecipitation(
::BlockSource& region,
::BlockPos const& pos,
float downfallAmount,
float temperature)
const
84 virtual bool hasComparatorSignal()
const ;
90 virtual bool isInteractiveBlock()
const ;
92 virtual int getExtraRenderLayers()
const ;
99 virtual ::Brightness getLight(
::Block const& block)
const ;
101 virtual ::Brightness getLightEmission(
::Block const& block)
const ;
107 MCAPI CauldronBlock(::std::string
const& nameId,
int id);
113 MCAPI
void _sendCauldronUsedEventToClient(
116 ::MinecraftEventing::POIBlockInteractionType interactionType
119 MCAPI
void _spawnCauldronEvent(
122 ::SharedTypes::Legacy::LevelEvent levelEvent
125 MCAPI
bool _useDyeableComponent(
141 MCAPI
void receiveStalactiteDrip(
144 ::SharedTypes::v1_26_20::MaterialType liquidType
148 setLiquidLevel(
::BlockSource& region,
::BlockPos const& pos,
int liquidLevel, ::CauldronLiquidType type)
const;
158 MCAPI
static bool canReceiveStalactiteDrip(
161 ::SharedTypes::v1_26_20::MaterialType liquidType
164 MCAPI
static int clampLiquidLevel(
int fillLevel);
167 MCAPI
static void spawnBubbleParticles(
::Level& level,
::Vec3 const& pos,
::Random&,
int,
int count);
172 MCAPI
static void spawnPotionParticles(
::Level& level,
::Vec3 const& pos,
::Random& color,
int count,
int);
175 MCAPI
static void spawnSplashParticles(
::Level& level,
::Vec3 const& pos,
::Random&,
int color,
int count);
182 MCAPI static ::BaseGameVersion
const& CAULDRON_DOESNT_BREAK_FALLING_BLOCK_VERSION();
188 MCAPI
void* $ctor(::std::string
const& nameId,
int id);
194 MCFOLD
bool $addCollisionShapes(
198 ::AABB const* intersectTestBox,
199 ::std::vector<::AABB>& inoutBoxes,
203 MCFOLD ::HitResult $clip(
209 ::ShapeType shapeType,
213 MCAPI
void $addAABBs(
217 ::AABB const* intersectTestBox,
218 ::std::vector<::AABB>& inoutBoxes
221 MCAPI
bool $canProvideSupport(
::Block const& face, uchar type, ::BlockSupportType)
const;
224 $handlePrecipitation(
::BlockSource& region,
::BlockPos const& pos,
float downfallAmount,
float temperature)
const;
228 MCFOLD
bool $hasComparatorSignal()
const;
234 MCFOLD
bool $isInteractiveBlock()
const;
236 MCFOLD
int $getExtraRenderLayers()
const;
242 MCAPI ::Brightness $getLight(
::Block const& block)
const;
244 MCAPI ::Brightness $getLightEmission(
::Block const& block)
const;
252 MCAPI
static void** $vftable();