net.minecraft.world.item.equipment

public class Equippable$Builder

dfu$a
net.minecraft.world.item.equipment.Equippable$Builder
net.minecraft.class_10192$class_10217
net.minecraft.component.type.EquippableComponent$Builder
net.minecraft.world.item.equipment.Equippable$a

Field summary

Modifier and TypeField
private final EquipmentSlot
a
slot
field_54234
slot
private Holder<SoundEvent>
b
equipSound
field_54235
equipSound
private Optional<ResourceLocation>
c
model
field_54236
model
private Optional<ResourceLocation>
d
cameraOverlay
field_54908
cameraOverlay
private Optional<HolderSet<EntityType<?>>>
e
allowedEntities
field_54237
allowedEntities
private boolean
f
dispensable
field_54238
dispensable
private boolean
g
swappable
field_54239
swappable
private boolean
h
damageOnHurt
field_54240
damageOnHurt

Constructor summary

ModifierConstructor
(EquipmentSlot slot)

Method summary

Modifier and TypeMethod
public Equippable$Builder
a(jq<axe> arg0)
setEquipSound(Holder<SoundEvent> arg0)
method_64205(class_6880<class_3414> arg0)
equipSound(RegistryEntry<SoundEvent> equipSound)
public Equippable$Builder
a(alz arg0)
setModel(ResourceLocation arg0)
method_64204(class_2960 arg0)
model(Identifier model)
public Equippable$Builder
b(alz arg0)
setCameraOverlay(ResourceLocation arg0)
method_65009(class_2960 arg0)
cameraOverlay(Identifier cameraOverlay)
public Equippable$Builder
a(bvr<?>... arg0)
setAllowedEntities(EntityType<?>... arg0)
method_64208(class_1299<?>... arg0)
allowedEntities(EntityType<?>... allowedEntities)
public Equippable$Builder
a(ju<bvr<?>> arg0)
setAllowedEntities(HolderSet<EntityType<?>> arg0)
method_64206(class_6885<class_1299<?>> arg0)
allowedEntities(RegistryEntryList<EntityType<?>> allowedEntities)
public Equippable$Builder
a(boolean arg0)
setDispensable(boolean arg0)
method_64207(boolean arg0)
dispensable(boolean dispensable)
public Equippable$Builder
b(boolean arg0)
setSwappable(boolean arg0)
method_64209(boolean arg0)
swappable(boolean swappable)
public Equippable$Builder
c(boolean arg0)
setDamageOnHurt(boolean arg0)
method_64210(boolean arg0)
damageOnHurt(boolean damageOnHurt)
public Equippable
a()
build()
method_64203()
build()