Skip to content

kotmatross28729/ItemPhysic-Legacy-Unofficial

 
 

Repository files navigation

ItemPhysic 1.7.10 Kotmatross fork

A minecraft forge mod that adds some physic to thrown items.


Dependencies:


Changes with the original version:

HRudyPlayZ:

  • Added some settings related to the burning items list. You can choose which items will or will not burn in fire/lava etc.

    • You can also invert this setting.
  • Added some settings related to floating items list. You can choose which items will or will not float in liquids.

    • You can also invert this setting.
  • Made the config look better, with descriptions for each option.

  • Added a fancy color format in the mod list.


My (Kotmatross):

  • Fixed a bug where the item pickup panel wouldn't scale to fit the screen size

  • Rewritten the entire list system (burnList and floatList) from scratch (fixes a LOT of bugs)

    • Added OreDictionary support (you can add huge groups of items without adding each one separately)

    • Added item metadata support (for greater accuracy)

    • Added forge fluid system support (for floatList)

    • Added default support for some vanilla items, as well as Thaumcraft and etfuturum

    • Added patch for OreDictionary.WILDCARD_VALUE

  • Fully formatted README

  • Fixed floating items spinning very fast when they reach the surface

  • Fixed item despawn option not working

  • Backported items slowing down in the cobweb

  • Added a config option to disable "Power:" text above HUD && make "Power:" translatable

  • Fixed item textures not being hidden if the item has a 3D model

  • Fixed explosive/hydroactive hazards from hbm's ntm not working

  • Added config option responsible for the resistance of items to cactus

  • Added List of items that are explosion resistant

  • Added List of items that are undestroyable

  • Added List of items that are sulfuric acid-resistant (hbm's ntm)

  • Fixed items spinning on Thaumcraft pedestals

  • Fix items spinning on Mo' Creatures ants body

  • Backported show tooltip option

  • Backported igniting items

  • Backported item fall sounds


Documentation on lists:

parameters:

Parameter name Type Default Example
modid String (abc) - minecraft / etfuturum / hbm / Thaumcraft
itemname String (abc) - stick / beetroot / item.part_generic / blockCustomOre
metadata Int (123) 0 0 / 4 / 1 / 5
ignoremeta Boolean (true/false) false true / false
fluid String (abc) fluid.tile.water if vanilla (water/lava) - fluid.tile.water fluid.tile.lava, else (thermal foundation, etc) - fluid.redstone, etc

burnList:

Minimum syntax:

  • modid:itemname
    • Example: minecraft:blaze_rod

Means that item "itemname" from "modid" will NOT burn in lava

Maximum syntax:

  • 1)modid:itemname:metadata
    • Example: minecraft:golden_apple:1 //enchanted

OR

  • 2)modid:itemname:ignoremeta
    • Example: etfuturum:netherite_sword:true

Means that item "itemname" from "modid" : 1)with metadata "metadata" 2)with any metadata will NOT burn in lava

With B:invertBurnList=true everything is exactly the opposite: the items specified in this list will be the only ones that WILL burn

(it follows that absolutely all other items not on this list will NOT burn)

floatList:

Minimum syntax:

  • modid:itemname
    • Example: minecraft:stick

Means that item "itemname" from "modid" will float in water

Maximum syntax:

  • 1)modid:itemname:metadata:fluids[]...
    • Example: etfuturum:tipped_arrow:8227:fluid.tile.lava

OR

  • 2)modid:itemname:ignoremeta:fluids[]...
    • Example: etfuturum:netherite_sword:true:fluid.tile.lava:fluid.redstone

Means that item "itemname" from "modid": 1)with metadata "metadata" 2)with any metadata WILL float in fluids "fluids[]"

With B:invertFloatList=true everything is exactly the opposite: the items specified in this list will be the only ones that will NOT float in the specified fluids.

(it follows that absolutely all other items not on this list WILL float in all fluids)

Note when specifying fluids: if it's vanilla water/lava, use fluid.tile.water or fluid.tile.lava. When specifying mod fluids, just use fluid.fluidname (without .tile)

ignitingItemsList:

Minimum syntax:

  • modidItem:itemname:modidBlock:blockname:chance
    • Example: minecraft:torch:minecraft:fire:10

Means item "itemname" from "modidItem" will ignite block underneath it with the block "blockname" from "modidBlock" with a chance of "chance"

May be difficult to understand, but it's much simpler:

modidItem:itemname - an item from some mod. Let's call it "A"

modidBlock:blockname - a block from some mod. Let's call it "B"

chance - a number, from 1 to 100

So, if an item “A” falls to the ground, then with this chance it can replace the block in which it is located with a block “B” (the replacement can only occur if the item “A” is in an air or grass block)

Maximum syntax:

  • 1)modidItem:itemname:metadataItem:modidBlock:blockname:metadataBlock:chance
    • Example: minecraft:red_flower:6:minecraft:stained_glass_pane:5:100

OR

  • 2)modidItem:itemname:ignoremetaItem:modidBlock:blockname:ignoremetaItem:chance
    • Example: minecraft:golden_sword:true:minecraft:stained_glass_pane:7:100

everything is the same, but now with indication of metadata/its absence (default metadata is 0)

With B:invertIgnitingItemsList=true everything is exactly the opposite: the items specified in this list will be the only ones that will NOT ignite blocks (all other items will ignite blocks with vanilla fire)

EXTRA syntax:

  • oredict:modidBlock:blockname:chance

For explosionList / undestroyableList / sulfuricAcidList the syntax is exactly the same as for burnList


TODO:

Name of TODO feature Priority State
Fix floating items spinning eternally (very fast) when they reach the surface High
Fix item despawn option not working High
Fix explosive/hydroactive hazards from hbm's ntm not working High
Fix item textures not being hidden if the item has a 3D model High
Add List of items that are explosion resistant High
Add List of items that are undestroyable (good luck getting rid of them) High
Add config option responsible for the resistance of items to cactus High
Add List of items that are sulfuric acid-resistant (hbm's ntm) High
Add a config option to disable "Power:" text above HUD && make "Power:" translatable Medium
Fix items spinning on Thaumcraft pedestals Medium
Fix items spinning on Mo' Creatures ants body Medium
Backport igniting items Low
Backport item fall sounds Low
Backport show tooltip option Low

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Java 100.0%