31 using BeaconBeamSections = ::std::vector<::BeaconBeamSection>;
36 ::ll::TypedStorage<8, 24, ::std::vector<::BeaconBeamSection>> mBeamSections;
37 ::ll::TypedStorage<4, 4, float> mBeamRot;
38 ::ll::TypedStorage<4, 4, int> mNumLevels;
39 ::ll::TypedStorage<4, 4, int> mNumLevelsSet;
40 ::ll::TypedStorage<4, 4, int> mBlockRefreshCounter;
41 ::ll::TypedStorage<4, 4, int> mPrimaryEffectId;
42 ::ll::TypedStorage<4, 4, int> mSecondaryEffectId;
43 ::ll::TypedStorage<4, 4, int> mPrimaryEffectTier;
44 ::ll::TypedStorage<4, 4, int> mSecondaryEffectTier;
45 ::ll::TypedStorage<8, 24, ::std::vector<::MobEffect*>> mBeaconEffects;
46 ::ll::TypedStorage<8, 24, ::std::vector<::std::vector<::MobEffect*>>> mTierEffects;
47 ::ll::TypedStorage<1, 1, bool> mPermanentlyRendered;
48 ::ll::TypedStorage<1, 1, bool> mClientRenderingNeedsUpdate;
49 ::ll::TypedStorage<1, 1, bool> mIsBlockBaseLoaded;
72 virtual bool hasAlphaLayer()
const ;
75 virtual bool isPermanentlyRendered()
const ;
78 virtual bool isWithinRenderDistance(
::Vec3 const& cameraPosition)
const ;
81 virtual ::ItemStack
const& getItem(
int slot)
const ;
84 virtual void setItem(
int modelSlot,
::ItemStack const& item) ;
87 virtual void removeItem(
int slot,
int count) ;
90 virtual ::std::string getName()
const ;
93 virtual int getContainerSize()
const ;
96 virtual int getMaxStackSize()
const ;
99 virtual void startOpen(
::Actor&) ;
102 virtual void stopOpen(
::Actor& actor) ;
105 virtual void serverInitItemStackIds(
108 ::std::function<
void(
int,
::ItemStack const&)> onNetIdChanged
112 virtual ::Container* getContainer() ;
115 virtual ::Container
const* getContainer()
const ;
118 virtual ::std::unique_ptr<::BlockActorDataPacket> _getUpdatePacket(
::BlockSource& region) ;
132 _notifyBeamSectionsChange(
::BlockSource& region, ::std::vector<::BeaconBeamSection>
const& oldBeamSections);
136 MCAPI
bool _setEffect(
int effectId,
int& outEffectId,
int& outTier);
144 MCAPI ::CompoundTag getBeaconData(
::SaveContext const& saveContext);
146 MCAPI
bool isEffectAvailable(
int effectId)
const;
148 MCAPI
bool setSecondaryEffect(
int effectId);
154 MCAPI static ::BlockColor _getMediumColor(
::BlockType const& medium);
162 MCAPI
void* $ctor(
::BlockPos const& pos,
bool permanentlyRendered);
180 MCFOLD
bool $hasAlphaLayer()
const;
182 MCFOLD
bool $isPermanentlyRendered()
const;
184 MCAPI
bool $isWithinRenderDistance(
::Vec3 const& cameraPosition)
const;
186 MCFOLD ::ItemStack
const& $getItem(
int slot)
const;
188 MCFOLD
void $setItem(
int modelSlot,
::ItemStack const& item);
190 MCFOLD
void $removeItem(
int slot,
int count);
192 MCAPI ::std::string $getName()
const;
194 MCFOLD
int $getContainerSize()
const;
196 MCFOLD
int $getMaxStackSize()
const;
198 MCFOLD
void $startOpen(
::Actor&);
200 MCFOLD
void $stopOpen(
::Actor& actor);
202 MCFOLD
void $serverInitItemStackIds(
205 ::std::function<
void(
int,
::ItemStack const&)> onNetIdChanged
208 MCFOLD ::Container* $getContainer();
210 MCFOLD ::Container
const* $getContainer()
const;
212 MCAPI ::std::unique_ptr<::BlockActorDataPacket> $_getUpdatePacket(
::BlockSource& region);
Definition SaveContext.h:5