Class DrainableItemBuilder
-
Nested Class Summary
Nested classes/interfaces inherited from interface generation.builders.Writeable
Writeable.ListProperty<T>, Writeable.Property<T>, Writeable.WriteableProperty<T>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncantBeConsolided
(boolean boolean0) isCookable
(boolean boolean0) minutesToCook
(int int0) replaceOnCooked
(ItemKey itemKey) replaceOnDeplete
(ItemKey itemKey) ticksPerEquipUse
(int int0) useDelta
(float float0) useWhileEquipped
(boolean boolean0) useWhileUnequipped
(boolean boolean0) weightEmpty
(float float0) Methods inherited from class generation.builders.ItemBuilder
activatedItem, addComponent, aimingtime, aimReleaseSound, alarmClock, alarmClockClothing, alarmSound, alcoholic, alcoholPower, alwaysWelcomeGift, ammoType, animal, animalFeedType, attachmentReplacement, attachmentsProvided, attachmentType, bandagePower, bloodLocation, bodyLocation, boredomChange, brakeForce, breakSound, bringToBearSound, bulletHitArmourSound, calories, canBandage, canBeEquipped, canBeRemote, canHaveHoles, cannedFood, canStack, canStoreWater, cantBeFrozen, cantEat, capacity, carbohydrates, chanceToFall, chanceToSpawnDamaged, closeKillMove, clothing, clothingExtraSubmenu, clothingItem, clothingItemExtra, clothingItemExtraOption, colorBlue, colorGreen, colorRed, combatSpeedModifier, conditionAffectsCapacity, conditionLowerChanceOneIn, conditionLowerOffroad, conditionLowerStandard, conditionMax, consolidateOption, container, containerName, cookingSound, corpseSicknessDefense, cosmetic, count, customContextMenu, customDrinkSound, customEatSound, damagedSound, digType, disappearOnUse, discomfortModifier, displayCategory, displayName, drainable, dropSound, eattime, eatType, ejectAmmoSound, ejectAmmoStartSound, ejectAmmoStopSound, engineLoudness, equippedNoSprint, equipSound, evolvedRecipe, evolvedRecipeName, explosionSound, fabricType, fatigueChange, fillFromDispenserSound, fillFromLakeSound, fillFromTapSound, fillFromToiletSound, fireFuelRatio, fishingLure, fluid, food, foodType, gunType, headCondition, headConditionLowerChanceMultiplier, headConditionMax, hearingModifier, hidden, hungerChange, icon, iconColorMask, iconFluidMask, iconsForTexture, insertAmmoSound, insertAmmoStartSound, insertAmmoStopSound, insulation, isDung, isWaterSource, itemAfterCleaning, itemWhenDry, keepOnDeplete, key, lightDistance, lightStrength, lipids, literature, lowLightBonus, makeUpType, manuallyRemoveSpentRounds, map, maxAmmo, maxCapacity, maxItemSize, mechanicsItem, mediaCategory, medical, metalValue, moveable, needToBeClosedOnceReload, noiseDuration, normal, onBreak, onCreate, openingRecipe, originX, originY, originZ, packaged, placeMultipleSound, placeOneSound, pourType, primaryAnimMask, protectFromRainWhenEquipped, proteins, radio, rainFactor, readType, reduceInfectionPower, remoteController, remoteRange, removeOnBroken, removeUnhappinessWhenCooked, replaceInPrimaryHand, replaceInSecondHand, replaceOnUse, requireInHandOrInventory, requiresEquippedBothHands, researchablerecipes, runSpeedModifier, scaleWorldIcon, secondaryAnimMask, sharpness, shoutMultiplier, shoutType, soundMap, soundParameter, soundRadius, soundVolume, spawnWith, spice, staticModel, staticModelsByIndex, stopPower, stressChange, survivalGear, suspensionCompression, suspensionDamping, swingAnim, tags, teachedrecipes, tooltip, torchCone, torchDot, trap, twoHandWeapon, type, unequipSound, unhappyChange, useWorldItem, vehiclePartModel, vehicleType, visionModifier, visualAid, weapon, weaponHitArmourSound, weaponPart, weight, weightModifier, weightReduction, wet, wetCooldown, wheelFriction, windResistance, withDrainable, withoutDrainable, worldObjectSprite, worldRender, worldStaticModel, worldStaticModelsByIndex
Methods inherited from class generation.builders.AbstractPropertyBuilder
get, getName, write
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface generation.builders.Writeable
formatFloat, fromArray, indent, stream, writeBlockEnd, writeBlockStart, writeKeyValue, writeProperties, writeValue
-
Constructor Details
-
DrainableItemBuilder
-
-
Method Details
-
cantBeConsolided
-
isCookable
- Overrides:
isCookable
in classItemBuilder<DrainableItemBuilder>
-
minutesToCook
-
onCooked
-
onEat
-
onEat
public DrainableItemBuilder onEat(SerializableMethod.Consumer2<DrainableComboItem, IsoGameCharacter> consumer2) -
replaceOnCooked
-
replaceOnDeplete
-
ticksPerEquipUse
-
useDelta
-
useWhileEquipped
- Overrides:
useWhileEquipped
in classItemBuilder<DrainableItemBuilder>
-
useWhileUnequipped
-
weightEmpty
- Overrides:
weightEmpty
in classItemBuilder<DrainableItemBuilder>
-