aboutsummaryrefslogtreecommitdiff
path: root/Minecraft.World/ComplexItem.cpp
blob: 1b5f3cff9e98ee5d10b780d2a3873b04d5a9ab02 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#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;
}