DummyEntity

 avatar
unknown
java
a year ago
699 B
4
Indexable
package gg.bundlegroup.screen.models;

import net.minecraft.nbt.CompoundTag;
import net.minecraft.network.syncher.SynchedEntityData;
import net.minecraft.world.entity.Entity;
import net.minecraft.world.entity.EntityType;

public final class DummyEntity extends Entity {

    public static final DummyEntity INSTANCE = new DummyEntity();

    @SuppressWarnings("DataFlowIssue")
    private DummyEntity() {
        super(EntityType.CHICKEN, null);
    }

    @Override
    protected void defineSynchedData(SynchedEntityData.Builder builder) { }

    @Override
    protected void readAdditionalSaveData(CompoundTag nbt) { }

    @Override
    protected void addAdditionalSaveData(CompoundTag nbt) { }
}
Editor is loading...
Leave a Comment