// 
// Decompiled by Procyon v0.6.0
// 

package com.hypixel.hytale.server.core.event.events.entity;

import javax.annotation.Nonnull;
import com.hypixel.hytale.server.core.universe.world.storage.EntityStore;
import com.hypixel.hytale.component.Ref;
import com.hypixel.hytale.event.IEvent;

@Deprecated(forRemoval = true)
public class LivingEntityUseBlockEvent implements IEvent<String>
{
    private Ref<EntityStore> ref;
    private String blockType;
    
    public LivingEntityUseBlockEvent(final Ref<EntityStore> ref, final String blockType) {
        this.ref = ref;
        this.blockType = blockType;
    }
    
    public String getBlockType() {
        return this.blockType;
    }
    
    public Ref<EntityStore> getRef() {
        return this.ref;
    }
    
    @Nonnull
    @Override
    public String toString() {
        return "LivingEntityUseBlockEvent{blockType=" + this.blockType + "} " + super.toString();
    }
}
