Defuse

Loads particles and sounds from a resource pack for entities that can be defused by a staff.

Properties

Link copied to clipboard
public final static String FILE_NAME

The file name of the entity defuse data in the root of resource packs.

Link copied to clipboard
public final static Defuse INSTANCE

Functions

Link copied to clipboard
protected Unit apply(Map<Identifier, BlockState> prepared, ResourceManager manager, Profiler profiler)
Link copied to clipboard
public final static BlockState getDefuseBlockState(EntityType<?> entityType)
public final static BlockState getDefuseBlockState(Identifier entityType)

Gets the block state, whose particles should be shown and sound should be played, when an entity gets defused by a staff.

Link copied to clipboard
protected Map<Identifier, BlockState> prepare(ResourceManager manager, Profiler profiler)

Inherited functions

Link copied to clipboard
public String getName()
Link copied to clipboard
public final CompletableFuture<Void> reload(ResourceReloader.Synchronizer synchronizer, ResourceManager manager, Profiler prepareProfiler, Profiler applyProfiler, Executor prepareExecutor, Executor applyExecutor)