PlayerBrewedPotionEvent

Importing the class

If you need to reference this type directly, like when casting an Array, or as a parameter, you will need to import it. Simply add the import at the top of the file.

script.zs
import crafttweaker.neoforge.api.event.brewing.PlayerBrewedPotionEvent;

Extends

PlayerBrewedPotionEvent extends PlayerEvent.

Members

Getter
script.zs
// PlayerBrewedPotionEvent.entity as Player
myPlayerBrewedPotionEvent.entity

Return Type: Player

Getter
script.zs
// PlayerBrewedPotionEvent.entity as LivingEntity
myPlayerBrewedPotionEvent.entity

Return Type: LivingEntity

Getter
script.zs
// PlayerBrewedPotionEvent.entity as Entity
myPlayerBrewedPotionEvent.entity

Return Type: Entity

Getter
script.zs
// PlayerBrewedPotionEvent.stack as IItemStack
myPlayerBrewedPotionEvent.stack

Return Type: IItemStack