Class VanillaChestLoot
java.lang.Object
net.minecraft.data.loot.packs.VanillaChestLoot
- All Implemented Interfaces:
LootTableSubProvider
-
Nested Class Summary
Nested classes/interfaces inherited from interface LootTableSubProvider
LootTableSubProvider.Context, LootTableSubProvider.Factory -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final HolderGetter<Biome> private final HolderGetter<Enchantment> private final HolderGetter<Instrument> private final LootTableSubProvider.Contextprivate final HolderGetter<Structure> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate voidprivate UniformContainerBase.Builder<?> private static FilteredFunction.Builderprivate UniformContainerBase.Builder<?> explorationMapItem(TagKey<Structure> structureTag, Holder<MapDecorationType> decoration, Item mapItem) private UniformContainerBase.Builder<?> explorationMapItem(TagKey<Structure> structureTag, Holder<MapDecorationType> decoration, Item mapItem, @Nullable String translationKey) private UniformContainerBase.Builder<?> explorationMapItemExcludingBiome(TagKey<Structure> structureTag, Holder<MapDecorationType> decoration, Item mapItem, String translationKey, Holder<Biome> excludedBiome) voidrun()void
-
Field Details
-
output
-
biomes
-
enchantments
-
instruments
-
structures
-
-
Constructor Details
-
VanillaChestLoot
-
-
Method Details
-
run
public void run()- Specified by:
runin interfaceLootTableSubProvider
-
spawnerLootTables
public void spawnerLootTables() -
shipwreckSupplyLootTable
-
shipwreckMapLootTable
-
bastionHoglinStableLootTable
-
bastionBridgeLootTable
-
endCityTreasureLootTable
-
netherBridgeLootTable
-
bastionTreasureLootTable
-
bastionOtherLootTable
-
woodlandMansionLootTable
-
strongholdLibraryLootTable
-
strongholdCorridorLootTable
-
ancientCityLootTable
-
jungleTempleLootTable
-
shipwreckTreasureLootTable
-
pillagerOutpostLootTable
-
desertPyramidLootTable
-
abandonedCampLootTables
private void abandonedCampLootTables() -
explorationMapItem
private UniformContainerBase.Builder<?> explorationMapItem(TagKey<Structure> structureTag, Holder<MapDecorationType> decoration, Item mapItem) -
explorationMapItem
private UniformContainerBase.Builder<?> explorationMapItem(TagKey<Structure> structureTag, Holder<MapDecorationType> decoration, Item mapItem, @Nullable String translationKey) -
explorationMapItemExcludingBiome
private UniformContainerBase.Builder<?> explorationMapItemExcludingBiome(TagKey<Structure> structureTag, Holder<MapDecorationType> decoration, Item mapItem, String translationKey, Holder<Biome> excludedBiome) -
buriedTreasureMapItem
-
discardIfNotValidMap
-