Bulk clearing of whitespace
This commit is contained in:
@@ -70,19 +70,19 @@ public:
|
||||
|
||||
/** Close NBT tags that we've opened */
|
||||
void Finish(void);
|
||||
|
||||
|
||||
bool IsLightValid(void) const {return m_IsLightValid; }
|
||||
|
||||
protected:
|
||||
|
||||
|
||||
/* From cChunkDataSeparateCollector we inherit:
|
||||
- m_BlockTypes[]
|
||||
- m_BlockMetas[]
|
||||
- m_BlockLight[]
|
||||
- m_BlockSkyLight[] */
|
||||
|
||||
|
||||
cFastNBTWriter & m_Writer;
|
||||
|
||||
|
||||
bool m_IsTagOpen; // True if a tag has been opened in the callbacks and not yet closed.
|
||||
bool m_HasHadEntity; // True if any Entity has already been received and processed
|
||||
bool m_HasHadBlockEntity; // True if any BlockEntity has already been received and processed
|
||||
@@ -91,10 +91,10 @@ protected:
|
||||
|
||||
/** Writes an item into the writer, if slot >= 0, adds the Slot tag. The compound is named as requested. */
|
||||
void AddItem(const cItem & a_Item, int a_Slot, const AString & a_CompoundName = "");
|
||||
|
||||
|
||||
/** Writes an item grid into the writer; begins the stored slot numbers with a_BeginSlotNum. Note that it doesn't begin nor end the list tag */
|
||||
void AddItemGrid(const cItemGrid & a_Grid, int a_BeginSlotNum = 0);
|
||||
|
||||
|
||||
// Block entities:
|
||||
void AddBasicTileEntity (cBlockEntity * a_Entity, const char * a_EntityTypeID);
|
||||
void AddBeaconEntity (cBeaconEntity * a_Entity);
|
||||
@@ -111,7 +111,7 @@ protected:
|
||||
void AddMobHeadEntity (cMobHeadEntity * a_MobHead);
|
||||
void AddCommandBlockEntity(cCommandBlockEntity * a_CmdBlock);
|
||||
void AddFlowerPotEntity (cFlowerPotEntity * a_FlowerPot);
|
||||
|
||||
|
||||
// Entities:
|
||||
void AddBasicEntity (cEntity * a_Entity, const AString & a_ClassName);
|
||||
void AddBoatEntity (cBoat * a_Boat);
|
||||
@@ -126,9 +126,9 @@ protected:
|
||||
void AddExpOrbEntity (cExpOrb * a_ExpOrb);
|
||||
void AddItemFrameEntity (cItemFrame * a_ItemFrame);
|
||||
void AddPaintingEntity (cPainting * a_Painting);
|
||||
|
||||
|
||||
void AddMinecartChestContents(cMinecartWithChest * a_Minecart);
|
||||
|
||||
|
||||
// cChunkDataSeparateCollector overrides:
|
||||
virtual void LightIsValid(bool a_IsLightValid) override;
|
||||
virtual void HeightMap(const cChunkDef::HeightMap * a_HeightMap) override;
|
||||
|
||||
Reference in New Issue
Block a user