Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Petrolpark-Mods/Destroy
/ functions
Functions
4,373 in github.com/Petrolpark-Mods/Destroy
⨍
Functions
4,373
◇
Types & classes
1,063
↓ 24 callers
Method
markSeismograph
(SceneBuilder scene, Seismograph seismograph, int x, int z, Mark mark)
src/main/java/com/petrolpark/destroy/content/oil/OilPonderScenes.java:401
↓ 24 callers
Method
setDisplayType
(DisplayType displayType)
src/main/java/com/petrolpark/destroy/core/chemistry/vat/VatSideBlockEntity.java:422
↓ 23 callers
Method
builder
(Class<? extends T> recipeClass)
src/main/java/com/petrolpark/destroy/compat/jei/DestroyJEI.java:367
↓ 23 callers
Method
getDisplayType
()
src/main/java/com/petrolpark/destroy/core/chemistry/vat/VatSideBlockEntity.java:418
↓ 23 callers
Method
getGroup
The {@link IFunctionalGroupInstance} of this {@link IOrganicReactant}. @return A {@link IFunctionalGroupInstance} whose {@link IAtom}s are all contain
src/main/java/com/petrolpark/destroy/chemistry/api/organic/IOrganicReactant.java:28
↓ 23 callers
Method
preexponentialFactor
Set the pre-exponential factor in the Arrhenius equation for this Reaction. @param preexponentialFactor @return This Reaction Builder
src/main/java/com/petrolpark/destroy/chemistry/legacy/LegacyReaction.java:611
↓ 22 callers
Method
award
(Level level, Player player)
src/main/java/com/petrolpark/destroy/DestroyAdvancementTrigger.java:89
↓ 22 callers
Method
getChannels
()
src/main/java/com/petrolpark/destroy/content/redstone/programmer/RedstoneProgram.java:175
↓ 22 callers
Method
getExtraInventoryStartSlotIndex
()
src/main/java/com/petrolpark/destroy/core/extendedinventory/ExtendedInventory.java:108
↓ 22 callers
Method
getTank
Find and select an {@link IFluidHandler} when clicking on a Block. We can then use this tank to empty or fill. @param level @param pos @param state @p
src/main/java/com/petrolpark/destroy/core/chemistry/storage/IMixtureStorageItem.java:130
↓ 22 callers
Method
test
(ItemStack stack)
src/main/java/com/petrolpark/destroy/content/processing/trypolithography/recipe/CircuitPatternIngredient.java:32
↓ 21 callers
Method
onRemove
(BlockState state, Level level, BlockPos pos, BlockState newState, boolean isMoving)
src/main/java/com/petrolpark/destroy/content/oil/pumpjack/IPumpjackStructuralBlock.java:81
↓ 20 callers
Method
addSimpleItemReactant
Adds an Item as a {@link IItemReactant reactant} for this {@link LegacyReaction}. An Item Stack of size {@code 1}, with this Item will be consumed in
src/main/java/com/petrolpark/destroy/chemistry/legacy/LegacyReaction.java:485
↓ 20 callers
Method
getRandom
Pick a random one of the two objects in this {@link Couple} @param random @return One of the objects in this {@link Couple}, which may be {@code null}
src/main/java/com/petrolpark/destroy/chemistry/api/util/Couple.java:113
↓ 20 callers
Method
getWidth
(Font pFont)
src/main/java/com/petrolpark/destroy/content/processing/trypolithography/CircuitPatternTooltipComponent.java:49
↓ 20 callers
Method
hypothetical
Mark this Molecule as being hypothetical - if this Molecule appears in a solution, an error will be raised. @return This Molecule Builder
src/main/java/com/petrolpark/destroy/chemistry/legacy/LegacySpecies.java:712
↓ 20 callers
Method
isIn
(int x, int y)
src/main/java/com/petrolpark/destroy/client/stackedtextbox/AbstractStackedTextBox.java:220
↓ 20 callers
Method
notifyUpdate
()
src/main/java/com/petrolpark/destroy/core/chemistry/vat/observation/RedstoneQuantityMonitorBehaviour.java:103
↓ 20 callers
Method
withCallback
(BiConsumer<Direction, Integer> valueCallback)
src/main/java/com/petrolpark/destroy/core/bettervaluesettings/SidedScrollValueBehaviour.java:74
↓ 20 callers
Method
withColor
(int color)
src/main/java/com/petrolpark/destroy/chemistry/legacy/LegacySpeciesTag.java:31
↓ 19 callers
Method
getElement
Get the {@link IElement} of which this atom is an instance. @return A nuclide (typically an {@link com.petrolpark.destroy.chemistry.api.nuclide.Elemen
src/main/java/com/petrolpark/destroy/chemistry/api/atom/IAtom.java:38
↓ 19 callers
Method
getLength
()
src/main/java/com/petrolpark/destroy/content/redstone/programmer/RedstoneProgram.java:94
↓ 19 callers
Method
rotate
(BlockState state, LevelAccessor level, BlockPos pos, Rotation rotation)
src/main/java/com/petrolpark/destroy/content/processing/dynamo/DynamoBlock.java:145
↓ 18 callers
Method
awardDestroyAdvancement
(DestroyAdvancementTrigger advancement)
src/main/java/com/petrolpark/destroy/core/data/advancement/DestroyAdvancementBehaviour.java:25
↓ 18 callers
Method
equals
{@inheritDocs} @param obj @return {@code true} if the supplied object is a Holder and the held object matches this, or both are {@link Holder#isEmpty(
src/main/java/com/petrolpark/destroy/chemistry/api/util/Holder.java:46
↓ 18 callers
Method
fulfils
(ExplosivePropertyCondition condition)
src/main/java/com/petrolpark/destroy/core/explosion/mixedexplosive/ExplosiveProperties.java:66
↓ 18 callers
Method
get
@param player @return The Player's Extended Inventory
src/main/java/com/petrolpark/destroy/core/extendedinventory/ExtendedInventory.java:54
↓ 18 callers
Method
n
()
src/main/java/com/petrolpark/destroy/DestroyCreativeModeTabs.java:102
↓ 18 callers
Method
offset
(Rect2i rect, int x, int y)
src/main/java/com/petrolpark/destroy/core/extendedinventory/ExtendedInventoryClientHandler.java:567
↓ 18 callers
Method
putPattern
(ItemStack stack, int pattern)
src/main/java/com/petrolpark/destroy/content/processing/trypolithography/CircuitPatternItem.java:21
↓ 18 callers
Method
with
(BiFunction<Float, LegacyReaction, ReactionResult> result)
src/main/java/com/petrolpark/destroy/chemistry/legacy/reactionresult/CombinedReactionResult.java:24
↓ 17 callers
Method
add
(float chance, ItemLike item)
src/main/java/com/petrolpark/destroy/DestroyCompostables.java:35
↓ 17 callers
Method
getCapacity
Get the capacity this ItemStack should have. This can and will be called before and after the {@link net.minecraftforge.common.extensions.IForgeItem#i
src/main/java/com/petrolpark/destroy/core/chemistry/storage/IMixtureStorageItem.java:51
↓ 17 callers
Method
getVatOptional
()
src/main/java/com/petrolpark/destroy/core/chemistry/vat/VatControllerBlockEntity.java:349
↓ 17 callers
Method
readNBT
Generates a Read-Only Mixture from the given Compound Tag. @param compound @return A new Read-Only Mixture instance
src/main/java/com/petrolpark/destroy/chemistry/legacy/ReadOnlyMixture.java:124
↓ 17 callers
Method
sendToServer
(C2SPacket message)
src/main/java/com/petrolpark/destroy/DestroyMessages.java:108
↓ 16 callers
Method
builder
()
src/main/java/com/petrolpark/destroy/client/DestroyLang.java:52
↓ 16 callers
Method
getCapability
(@NotNull Capability<T> cap, @Nullable Direction side)
src/main/java/com/petrolpark/destroy/core/explosion/mixedexplosive/SimpleDyeableNameableMixedExplosiveBlockEntity.java:71
↓ 16 callers
Method
getFluidResults
()
src/main/java/com/petrolpark/destroy/mixin/accessor/ProcessingRecipeParamsAccessor.java:21
↓ 16 callers
Method
getItemStack
(BlockEntity be)
src/main/java/com/petrolpark/destroy/content/processing/glassblowing/BlowpipeBlock.java:104
↓ 16 callers
Method
getVatOptional
()
src/main/java/com/petrolpark/destroy/core/chemistry/vat/VatSideBlockEntity.java:178
↓ 16 callers
Method
next
()
src/main/java/com/petrolpark/destroy/chemistry/api/util/Couple.java:162
↓ 16 callers
Method
toArray
()
src/main/java/com/petrolpark/destroy/chemistry/api/util/Couple.java:137
↓ 15 callers
Method
addS2CPacket
(SimpleChannel net, Class<T> clazz, Function<FriendlyByteBuf, T> decoder)
src/main/java/com/petrolpark/destroy/DestroyMessages.java:92
↓ 15 callers
Method
build
()
src/main/java/com/petrolpark/destroy/DestroySoundEvents.java:107
↓ 15 callers
Method
create
(String name)
src/main/java/com/petrolpark/destroy/DestroySoundEvents.java:81
↓ 15 callers
Method
getColor
(ItemStack stack)
src/main/java/com/petrolpark/destroy/core/chemistry/storage/IMixtureStorageItem.java:192
↓ 15 callers
Method
getFluidIngredients
()
src/main/java/com/petrolpark/destroy/mixin/accessor/ProcessingRecipeParamsAccessor.java:15
↓ 15 callers
Method
getIngredients
()
src/main/java/com/petrolpark/destroy/content/processing/trypolithography/recipe/CircuitDeployerApplicationRecipe.java:103
↓ 15 callers
Method
getMaterial
(BlockState state)
src/main/java/com/petrolpark/destroy/core/chemistry/vat/material/VatMaterial.java:35
↓ 15 callers
Method
getName
The display name of this product. @param iupac Whether the IUPAC systematic name should be used rather than the common name
src/main/java/com/petrolpark/destroy/chemistry/naming/INameableProduct.java:16
↓ 15 callers
Method
sendToClient
(S2CPacket message, ServerPlayer player)
src/main/java/com/petrolpark/destroy/DestroyMessages.java:112
↓ 14 callers
Method
addSimpleItemTagCatalyst
Adds an Item Ta as a {@link IItemReactant catalyst} for this {@link LegacyReaction}. An Item Stack containing Items with the tag must be present for t
src/main/java/com/petrolpark/destroy/chemistry/legacy/LegacyReaction.java:521
↓ 14 callers
Method
e
(String message)
src/main/java/com/petrolpark/destroy/chemistry/legacy/LegacyReaction.java:863
↓ 14 callers
Method
test
(LootContext context)
src/main/java/com/petrolpark/destroy/core/explosion/ObliterationCondition.java:17
↓ 13 callers
Method
drain
(FluidStack resource, FluidAction action)
src/main/java/com/petrolpark/destroy/content/processing/glassblowing/BlowpipeItem.java:306
↓ 13 callers
Method
getDenseOutputTank
()
src/main/java/com/petrolpark/destroy/content/processing/centrifuge/CentrifugeBlockEntity.java:221
↓ 13 callers
Method
getExplosiveInventory
(ItemStack stack)
src/main/java/com/petrolpark/destroy/core/explosion/mixedexplosive/IMixedExplosiveItem.java:9
↓ 13 callers
Method
getGasHandler
()
src/main/java/com/petrolpark/destroy/core/chemistry/vat/VatFluidTankBehaviour.java:50
↓ 13 callers
Method
getLeftSlots
(int extraSlots)
src/main/java/com/petrolpark/destroy/config/DestroyClientConfigs.java:26
↓ 13 callers
Method
getLightOutputTank
()
src/main/java/com/petrolpark/destroy/content/processing/centrifuge/CentrifugeBlockEntity.java:225
↓ 13 callers
Method
getPattern
(ItemStack stack)
src/main/java/com/petrolpark/destroy/content/processing/trypolithography/CircuitPatternItem.java:16
↓ 13 callers
Method
getRequiredFluid
()
src/main/java/com/petrolpark/destroy/core/recipe/SingleFluidRecipe.java:18
↓ 13 callers
Method
readNBT
(CompoundTag compound)
src/main/java/com/petrolpark/destroy/chemistry/legacy/LegacyMixture.java:120
↓ 13 callers
Method
serialize
@param object @return
src/main/java/com/petrolpark/destroy/chemistry/api/serialization/IChemistrySerializer.java:14
↓ 13 callers
Method
set
Set the value of the given type of Pollution in this Level. This does not broadcast the change to clients or reward advancements. @param pollutionType
src/main/java/com/petrolpark/destroy/core/pollution/Pollution.java:64
↓ 13 callers
Method
setFluid
(FluidStack stack)
src/main/java/com/petrolpark/destroy/mixin/accessor/FluidNetworkAccessor.java:13
↓ 12 callers
Method
addMolecule
Adds a {@link LegacySpecies} to this Mixture. If the Molecule is already in the Mixture, its concentration is increased by the given amount. @param mo
src/main/java/com/petrolpark/destroy/chemistry/legacy/LegacyMixture.java:218
↓ 12 callers
Method
clear
()
src/main/java/com/petrolpark/destroy/content/oil/seismology/SeismographItem.java:98
↓ 12 callers
Method
getAtom
()
src/main/java/com/petrolpark/destroy/chemistry/serializer/Node.java:57
↓ 12 callers
Method
getContents
(ItemStack itemStack)
src/main/java/com/petrolpark/destroy/core/chemistry/storage/IMixtureStorageItem.java:196
↓ 12 callers
Method
getLiquidTank
()
src/main/java/com/petrolpark/destroy/core/chemistry/vat/VatControllerBlockEntity.java:512
↓ 12 callers
Method
getPollution
Gets the level of pollution of the given Type in the given Level. @param level @param pollutionType @return 0 if the Level does not have the Level Pol
src/main/java/com/petrolpark/destroy/core/pollution/PollutionHelper.java:51
↓ 12 callers
Method
getRecipe
()
src/main/java/com/petrolpark/destroy/content/processing/glassblowing/BlowpipeBlockEntity.java:75
↓ 12 callers
Method
hasTag
Whether this {@link ITaggable} has a given {@link ITag}. @param <T> A type of {@link ITag} applicable to this {@link ITaggable} @param tag A {@link IT
src/main/java/com/petrolpark/destroy/chemistry/api/tag/ITaggable.java:18
↓ 12 callers
Method
highlightColumn
(SceneBuilder scene, PonderPalette color, int column, int ticks)
src/main/java/com/petrolpark/destroy/content/oil/seismology/ShowSeismographPonderInstruction.java:123
↓ 12 callers
Method
isNovel
Whether this Molecule was generated by a {@link com.petrolpark.destroy.chemistry.legacy.genericreaction.GenericReaction Generic Reaction}. @see Legacy
src/main/java/com/petrolpark/destroy/chemistry/legacy/LegacySpecies.java:340
↓ 12 callers
Method
iterator
()
src/main/java/com/petrolpark/destroy/chemistry/api/util/Couple.java:132
↓ 12 callers
Method
pollutionEnabled
Whether Pollution is enabled in this world.
src/main/java/com/petrolpark/destroy/core/pollution/PollutionHelper.java:37
↓ 12 callers
Method
pure
Get a Mixture containing only the given Molecule, unless it is charged, in which case get a Mixture containing the sodium salt or chloride of the ion.
src/main/java/com/petrolpark/destroy/chemistry/legacy/LegacyMixture.java:106
↓ 12 callers
Method
register
(ExplosivePropertyCondition condition)
src/main/java/com/petrolpark/destroy/core/explosion/mixedexplosive/ExplosiveProperties.java:161
↓ 11 callers
Method
addMolecule
Adds the given {@link LegacySpecies} to this Read-Only Mixture with the given concentration. If the Read-Only Mixture already contained the Molecule i
src/main/java/com/petrolpark/destroy/chemistry/legacy/ReadOnlyMixture.java:259
↓ 11 callers
Method
addSimpleItemTagReactant
Adds an Item Tag as a {@link IItemReactant reactant} for this {@link LegacyReaction}. An Item Stack of size {@code 1}, containing an Item with this Ta
src/main/java/com/petrolpark/destroy/chemistry/legacy/LegacyReaction.java:497
↓ 11 callers
Method
asItem
()
src/main/java/com/petrolpark/destroy/core/block/FullyGrownCropBlock.java:53
↓ 11 callers
Method
fromJson
(JsonObject json)
src/main/java/com/petrolpark/destroy/core/explosion/mixedexplosive/ExplosiveProperties.java:96
↓ 11 callers
Method
getBoilingPoint
The {@link ReadOnlyMixture#temperature temperature} (in kelvins) at which this Molecule forms a gas.
src/main/java/com/petrolpark/destroy/chemistry/legacy/LegacySpecies.java:262
↓ 11 callers
Method
getGasTank
()
src/main/java/com/petrolpark/destroy/core/chemistry/vat/VatControllerBlockEntity.java:523
↓ 11 callers
Method
getInternalTank
()
src/main/java/com/petrolpark/destroy/content/processing/distillation/BubbleCapBlockEntity.java:216
↓ 11 callers
Method
getMutation
(BlockState cropBlockState, BlockState blockUnder)
src/main/java/com/petrolpark/destroy/content/processing/phytomining/CropMutation.java:76
↓ 11 callers
Method
getSpeed
()
src/main/java/com/petrolpark/destroy/content/logistics/creativepump/CreativePumpBlockEntity.java:60
↓ 11 callers
Method
replace
Replaces one {@link LegacyAtom} with another, without moving the currently selected Atom. <p><b>To modify existing Formulae, {@link LegacyMolecularStr
src/main/java/com/petrolpark/destroy/chemistry/legacy/LegacyMolecularStructure.java:397
↓ 11 callers
Method
s
(String translationKey)
src/main/java/com/petrolpark/destroy/DestroyCreativeModeTabs.java:134
↓ 10 callers
Method
acid
Registers an acid. This automatially registers four {@link LegacyReaction Reactions} (one for the association, two for the dissociation (with both wat
src/main/java/com/petrolpark/destroy/chemistry/legacy/LegacyReaction.java:673
↓ 10 callers
Method
addC2SPacket
(SimpleChannel net, Class<T> clazz, Function<FriendlyByteBuf, T> decoder)
src/main/java/com/petrolpark/destroy/DestroyMessages.java:100
↓ 10 callers
Method
changePollution
Changes the level of pollution of the given Type in the given Level by the given amount. The change is broadcast to all clients (Avoid this by using t
src/main/java/com/petrolpark/destroy/core/pollution/PollutionHelper.java:90
↓ 10 callers
Method
create
(LegacyElement startingElement)
src/main/java/com/petrolpark/destroy/chemistry/legacy/index/DestroyTopologies.java:344
↓ 10 callers
Method
e
()
src/main/java/com/petrolpark/destroy/DestroyCreativeModeTabs.java:98
↓ 10 callers
Method
enthalpyChange
Set the enthalpy change (in kJ/mol) for this Reaction. If no enthalpy change is given, defaults to 0kJ. @param enthalpyChange @return This Reaction Bu
src/main/java/com/petrolpark/destroy/chemistry/legacy/LegacyReaction.java:635
↓ 10 callers
Method
getCapability
(@NotNull Capability<T> cap, @Nullable Direction side)
src/main/java/com/petrolpark/destroy/content/oil/ChunkCrudeOil.java:200
↓ 10 callers
Method
getControllerBubbleCap
()
src/main/java/com/petrolpark/destroy/content/processing/distillation/DistillationTower.java:85
← previous
next →
101–200 of 4,373, ranked by callers