aboutsummaryrefslogtreecommitdiff
path: root/Minecraft.World/ComplexItem.cpp
blob: 9cf09b87d88bc13eb667b9f2ddfc533b745e2d75 (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;
}

shared_ptr<Packet> ComplexItem::getUpdatePacket(shared_ptr<ItemInstance> itemInstance, Level *level, shared_ptr<Player> player)
{
    return nullptr;
}