Class NorthstarKubeDataEvent
java.lang.Object
dev.latvian.mods.kubejs.event.EventJS
dev.latvian.mods.kubejs.script.data.DataPackEventJS
com.lightning.northstar.compat.kubejs.event.NorthstarKubeDataEvent
@ParametersAreNonnullByDefault
public class NorthstarKubeDataEvent
extends dev.latvian.mods.kubejs.script.data.DataPackEventJS
-
Constructor Summary
ConstructorsConstructorDescriptionNorthstarKubeDataEvent(dev.latvian.mods.kubejs.script.data.VirtualKubeJSDataPack d, net.minecraft.server.packs.resources.MultiPackResourceManager rm) -
Method Summary
Modifier and TypeMethodDescriptiondimension(@Nullable net.minecraft.resources.ResourceLocation path) voiddimension(PlanetDimension dimension) voiddimension(PlanetDimension.Builder dimension, @Nullable net.minecraft.resources.ResourceLocation path) voiddimension(PlanetDimension dimension, @Nullable net.minecraft.resources.ResourceLocation path) fuel()fuel(@Nullable net.minecraft.resources.ResourceLocation path) voidvoidfuel(FuelType.Builder fuel) voidfuel(FuelType.Builder fuel, @Nullable net.minecraft.resources.ResourceLocation path) voidplanet()planet(@Nullable net.minecraft.resources.ResourceLocation path) voidplanet(PlanetProperties planet) voidplanet(PlanetProperties.Builder planet, @Nullable net.minecraft.resources.ResourceLocation path) voidplanet(PlanetProperties planet, @Nullable net.minecraft.resources.ResourceLocation path) voidMethods inherited from class dev.latvian.mods.kubejs.script.data.DataPackEventJS
add, addJson, afterPostedMethods inherited from class dev.latvian.mods.kubejs.event.EventJS
cancel, cancel, defaultExitValue, exit, exit, mapExitValue, success, success
-
Constructor Details
-
NorthstarKubeDataEvent
public NorthstarKubeDataEvent(dev.latvian.mods.kubejs.script.data.VirtualKubeJSDataPack d, net.minecraft.server.packs.resources.MultiPackResourceManager rm)
-
-
Method Details
-
fuel
-
fuel
@Info(value="Defines a fuel type", params=@Param(name="path",value="The name of the fuel type")) @Generics(Builder.class) public FuelType.Builder fuel(@Nullable @Nullable net.minecraft.resources.ResourceLocation path) -
fuel
-
fuel
@Info(value="Defines a fuel type",params={@Param(name="fuel",value="The fuel properties"),@Param(name="path",value="The name of the fuel type")}) public void fuel(FuelType.Builder fuel, @Nullable @Nullable net.minecraft.resources.ResourceLocation path) -
fuel
-
fuel
@Info(value="Defines a fuel type",params={@Param(name="fuel",value="The fuel properties"),@Param(name="path",value="The name of the fuel type")}) public void fuel(FuelType fuel, @Nullable @Nullable net.minecraft.resources.ResourceLocation path) -
planet
-
planet
public PlanetProperties.Builder planet(@Nullable @Nullable net.minecraft.resources.ResourceLocation path) -
planet
public void planet(PlanetProperties.Builder planet, @Nullable @Nullable net.minecraft.resources.ResourceLocation path) -
planet
-
planet
public void planet(PlanetProperties planet, @Nullable @Nullable net.minecraft.resources.ResourceLocation path) -
dimension
-
dimension
public PlanetDimension.Builder dimension(@Nullable @Nullable net.minecraft.resources.ResourceLocation path) -
dimension
public void dimension(PlanetDimension.Builder dimension, @Nullable @Nullable net.minecraft.resources.ResourceLocation path) -
dimension
-
dimension
public void dimension(PlanetDimension dimension, @Nullable @Nullable net.minecraft.resources.ResourceLocation path) -
postProcess
@HideFromJS @Internal public void postProcess()
-