aboutsummaryrefslogtreecommitdiff
path: root/Minecraft.World/ComplexItem.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Minecraft.World/ComplexItem.cpp')
-rw-r--r--Minecraft.World/ComplexItem.cpp19
1 files changed, 19 insertions, 0 deletions
diff --git a/Minecraft.World/ComplexItem.cpp b/Minecraft.World/ComplexItem.cpp
new file mode 100644
index 00000000..9cf09b87
--- /dev/null
+++ b/Minecraft.World/ComplexItem.cpp
@@ -0,0 +1,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;
+} \ No newline at end of file