/
Belyash5
/
Flu
Обзор
Документация
Войти
/
Belyash5
/
Flu
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
src/main/java/com/hbm/entity/item/EntityItemWaste.java
31 строка
690 B
Boblet
stack matching settings for extractor crane
07 июн 2022, 17:05
07 июн 2022, 17:05
8a080a0
Код
Авторство
О чём код?
package com.hbm.entity.item; import net.minecraft.entity.item.EntityItem; import net.minecraft.item.ItemStack; import net.minecraft.util.DamageSource; import net.minecraft.world.World; public class EntityItemWaste extends EntityItem { public EntityItemWaste(World world) { super(world); } public EntityItemWaste(World world, double x, double y, double z) { super(world, x, y, z); } public EntityItemWaste(World world, double x, double y, double z, ItemStack stack) { super(world, x, y, z, stack); } @Override public boolean isEntityInvulnerable() { return true; } @Override public boolean attackEntityFrom(DamageSource source, float amount) { return false; } }