2026-03-01 12:16:08 +08:00
|
|
|
#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;
|
|
|
|
|
}
|
|
|
|
|
|
2026-03-02 17:37:16 +07:00
|
|
|
shared_ptr<Packet> ComplexItem::getUpdatePacket(shared_ptr<ItemInstance> itemInstance, Level *level, shared_ptr<Player> player)
|
2026-03-01 12:16:08 +08:00
|
|
|
{
|
|
|
|
|
return nullptr;
|
|
|
|
|
}
|