This is one of the first commits in a plan to remove all `using namespace std;` lines in the entire codebase as it is considered anti-pattern today.
19 lines
441 B
C++
19 lines
441 B
C++
#include "stdafx.h"
|
|
#include "net.minecraft.network.packet.h"
|
|
#include "net.minecraft.world.entity.player.h"
|
|
#include "net.minecraft.world.level.h"
|
|
#include "ComplexItem.h"
|
|
|
|
ComplexItem::ComplexItem(int id) : Item(id)
|
|
{
|
|
}
|
|
|
|
bool ComplexItem::isComplex()
|
|
{
|
|
return true;
|
|
}
|
|
|
|
std::shared_ptr<Packet> ComplexItem::getUpdatePacket(std::shared_ptr<ItemInstance> itemInstance, Level *level, std::shared_ptr<Player> player)
|
|
{
|
|
return nullptr;
|
|
} |