mirror of
https://github.com/GeyserMC/Geyser.git
synced 2024-08-14 23:57:35 +00:00
still wip
This commit is contained in:
parent
2410a202a3
commit
69f775e599
2 changed files with 6 additions and 6 deletions
|
|
@ -99,7 +99,7 @@ public class Entity {
|
|||
metadata.putFlags(flags);
|
||||
}
|
||||
|
||||
public Entity(long entityId, long geyserId, Vector3f position) {
|
||||
public Entity(EntityType entityType) {
|
||||
}
|
||||
|
||||
public void spawnEntity(GeyserSession session) {
|
||||
|
|
|
|||
|
|
@ -9,11 +9,11 @@ import org.geysermc.connector.console.GeyserLogger;
|
|||
|
||||
public class ItemEntity extends Entity {
|
||||
|
||||
public ItemEntity(long entityId, long geyserId, Vector3f position) {
|
||||
super(entityId, geyserId, position);
|
||||
}
|
||||
public ItemEntity(long runtimeEntityId, long runtimeEntityId1, Vector3f toFloat) {
|
||||
super(EntityType.ITEM);
|
||||
}
|
||||
|
||||
@Override
|
||||
@Override
|
||||
public void spawnEntity(GeyserSession session) {
|
||||
AddItemEntityPacket AddItemEntity = new AddItemEntityPacket();
|
||||
AddItemEntity.setPosition(position);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue