Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
106 commits
Select commit Hold shift + click to select a range
5b5abae
Bukkit integration
Sirse Feb 9, 2017
0ad0323
Added config options for books and talismans recipes
Sirse Feb 10, 2017
4e48fcd
Make AlloyRecipes list public
Sirse May 28, 2017
29ad28d
Russian language for MF2
Sirse Jun 7, 2017
b2bab32
Various fixes
Sirse Jun 7, 2017
e1243f1
Fix .gitignore
Sirse Jun 7, 2017
22a521c
Mark it as 2.8.13 unofficial
Sirse Jun 7, 2017
3aa5d1b
Added chinese translation
Sirse Jun 7, 2017
5ada9d8
Cleanup
Sirse Jun 7, 2017
bbd3681
Dropped mod update detector support
Sirse Jun 7, 2017
d4763e3
Why not?)
Sirse Jun 7, 2017
56d1c7c
Basic NEI support, localization fixes, latest forge version
Sirse Jun 7, 2017
a316b14
Fix project
Sirse Jun 8, 2017
b024492
Temp fix for Pig Iron ingots crafting, changed steel recipe
Sirse Jun 8, 2017
55101fb
Move TextureHelper log output to debug channel
Sirse Jun 10, 2017
370dd1a
Fix weapon sounds foldername
Sirse Jun 10, 2017
a40a076
Finally
Sirse Jun 10, 2017
4e03060
Fix minotaur death sound
Sirse Jun 10, 2017
bd923f6
Revert "Fix minotaur death sound"
Sirse Jun 10, 2017
29a7ec6
Fix minotaur death sound
Sirse Jun 10, 2017
23c02f7
Fix minecraft-related files in Git
Sirse Jun 10, 2017
3fed32a
Some NEI tweaks
Sirse Jun 10, 2017
45b9a36
Fix rare EventManager NPE
Sirse Jun 10, 2017
54d5b71
Make assets lowercase
Sirse Jun 10, 2017
f47fc60
Whooops
Sirse Jun 10, 2017
97ceef3
Cleanup
Sirse Jun 10, 2017
d382f32
Final fix
Sirse Jun 10, 2017
14daf1f
NEI refactoring
Sirse Jun 11, 2017
c8810f6
Prepare for minetweaker
Sirse Jun 11, 2017
8b0af3a
Create README.md
Sirse Jun 11, 2017
17e5d5c
Create README.md
Sirse Jun 11, 2017
d57c116
Minetweaker support
Sirse Jun 11, 2017
0c6a02e
Refined Iron > Pig Iron
Sirse Jun 11, 2017
00299ce
Automatically convert old material NBT data
Sirse Jun 11, 2017
56b4706
2.8.13.1u
Sirse Jun 11, 2017
790bbf1
Include gradle binaries
Sirse Jun 21, 2017
0b97d31
Localization fix
Sirse Jul 13, 2017
dbcd49a
Config options for integration module
Sirse Jul 13, 2017
215d1a2
Some stuff
Sirse Jul 17, 2017
7c981e1
Code formatting
Sirse Jul 17, 2017
f532ba3
Fix blockbreaker sharp rocks spam
Sirse Jul 17, 2017
d88ff51
Some small refactoring
Sirse Jul 21, 2017
f7e94b0
NEI NPE fix
Sirse Jul 29, 2017
12637d6
Fixed DragonAPI Enderman hitting
Sirse Jul 29, 2017
88085e3
TODO update
Sirse Jul 31, 2017
245c59b
Started network usage overhaul
Sirse Aug 18, 2017
81eb90d
Fixes
Sirse Aug 20, 2017
a53777b
Tried to fix the problem of sending packets to every player.
Yesterday17 Aug 24, 2017
9ef0467
Add NetworkUtils.java to the repository
Yesterday17 Aug 24, 2017
d550c61
Merge pull request #8 from yesterday17/master
Sirse Aug 24, 2017
6d3cd00
Fixed training mace recipe
Sirse Aug 24, 2017
dcaa333
Merge branch 'master' of https://github.com/Sirse/MineFantasyII-Cont
Sirse Aug 24, 2017
fedc098
RM files
Sirse Aug 24, 2017
3eacf76
Restore files
Sirse Aug 24, 2017
847868d
Lower the minium size of the packet heap.
Yesterday17 Aug 26, 2017
9a3fdf4
Merge pull request #9 from yesterday17/master
Sirse Aug 26, 2017
a539e1a
Update gradle version
Sirse Aug 26, 2017
27fb1b1
Update version
Sirse Aug 26, 2017
d56f011
Gradle&Git config changes
Sirse Aug 27, 2017
7ba2de8
Skillbooks rebalance
Sirse Sep 6, 2017
1f8b70b
Fixed salvage station duplication glitch
Sirse Sep 7, 2017
3fc28a4
Refix, sry
Sirse Sep 8, 2017
b5649e5
I didn't see other way to fix it without salvage rewrite
Sirse Sep 15, 2017
51b2ac9
Added Xorshift Thermite random
Sirse Sep 15, 2017
cc88013
Added ASM patch for horse armor support
Sirse Sep 15, 2017
5a49ec2
More work under horses armor
Sirse Sep 15, 2017
37c8189
Implemented basic horse armor item
Sirse Sep 15, 2017
e2fe981
Move workdir
Sirse Sep 17, 2017
00a4f39
Travis CI, gitignore fix
Sirse Sep 22, 2017
2e98ef1
Update README.md
Sirse Sep 22, 2017
1f962ca
Unfinished stuff
Sirse Sep 25, 2017
97670bc
Whoops
Sirse Sep 25, 2017
33cc7e5
Update README.md
Sirse Sep 25, 2017
ac47244
Rewrited NEI helper for anvil recipes
Sirse Sep 26, 2017
1dd3a40
Merge branch 'master' of https://github.com/Sirse/MineFantasyII-Cont
Sirse Sep 26, 2017
c08221f
Disable ASM patches until horse update
Sirse Sep 29, 2017
2bf4afc
Whooops
Sirse Sep 29, 2017
3e20978
NEI AnvelHandler fixes
Sirse Oct 2, 2017
3085733
Russian language fixes and version update
Sirse Oct 2, 2017
fa458fe
Fix missed SideOnly annotation
Sirse Oct 2, 2017
f4f2133
Some changes
Sirse Oct 30, 2017
9054bc6
MineTweaker fixes
Sirse Oct 30, 2017
2fd6f78
Automatic code reformat
Sirse Oct 30, 2017
42cc787
Added Bloomery recipe removing action
Sirse Nov 1, 2017
10e5c5e
Travis CI deployment
Sirse Nov 1, 2017
b5591a3
Recipe system changes
Sirse Nov 5, 2017
45a5ce3
60% of MT integration are done
Sirse Nov 9, 2017
00bcc82
Little bit more MT handlers
Sirse Nov 10, 2017
0693b37
Rewritted CustomMaterial handler
Sirse Nov 10, 2017
c05b62a
Fix knife duplication glitch
Sirse Nov 18, 2017
7acf2ee
Reverted horse armor, some code changes
Sirse Jan 11, 2018
9234b32
Light (leather) armor rebalance
Sirse Jan 12, 2018
f57029e
Fixed vanilla cooking recipes handling in oven
Sirse Jan 12, 2018
1415a3e
Spanner now can works as wrench
Sirse Jan 12, 2018
869942d
Update version
Sirse Jan 12, 2018
27f8549
Knifes now can be used as shears
Sirse Jan 13, 2018
37b96e6
Fixed crash without MT installed
Sirse Jan 13, 2018
f376ed4
Updated version
Sirse Jan 13, 2018
104c9a0
Update README.md
Sirse Jan 14, 2018
6312585
Update README.md
Sirse Jan 14, 2018
d9de4f0
Update README.md
Sirse Jan 14, 2018
4e88fa0
Fixes
Sirse May 1, 2018
455e1e6
Merge remote-tracking branch 'origin/master'
Sirse May 1, 2018
021b6ce
Removed hardcoded BG dependency check
Sirse May 1, 2018
1d26201
Revert
Sirse May 23, 2018
0e125fd
MF2 Edited by Kacpros
Kacpros Sep 20, 2018
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
156 changes: 79 additions & 77 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,80 +1,82 @@
# Windows image file caches
Thumbs.db
ehthumbs.db

# Folder config file
Desktop.ini

# Recycle Bin used on file shares
$RECYCLE.BIN/

# Windows Installer files
*.cab
*.msi
*.msm
*.msp

# Windows shortcuts
*.lnk

# =========================
# Operating System Files
# =========================

# OSX
# =========================

.DS_Store
.AppleDouble
.LSOverride

# Thumbnails
._*

# Files that might appear in the root of a volume
.DocumentRevisions-V100
.fseventsd
.Spotlight-V100
.TemporaryItems
.Trashes
.VolumeIcon.icns

# Directories potentially created on remote AFP share
.AppleDB
.AppleDesktop
Network Trash Folder
Temporary Items
.apdisk

# =========================
# MCP Files
# =========================
.classpath
.gradle/2.0/taskArtifacts/cache.properties
.gradle/2.0/taskArtifacts/cache.properties.lock
*.bin
.gradle/gradle.log
### Windows ###

thumbs.db
*.db

### Java ###

*.class

# Mobile Tools for Java (J2ME)
.mtj.tmp/

# Package Files #
*.jar
*.war
*.ear
*.txt

# virtual machine crash logs, see http://www.java.com/en/download/help/error_hotspot.xml
hs_err_pid*

### Eclipse ###

*.pydevproject
.metadata
.gradle
bin/
tmp/
*.tmp
*.bak
*.swp
*~.nib
local.properties
.settings/
.loadpath
/eclipse
/run

# Eclipse Core
.project
.settings/org.eclipse.jdt.core.prefs
CREDITS-fml.txt
*.location
eclipse/.metadata/.plugins/org.eclipse.core.resources/.root/0.tree
eclipse/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.core.resources.prefs
eclipse/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.debug.ui.prefs
*.prefs
eclipse/.metadata/.plugins/org.eclipse.debug.core/.launches/Client.launch

# External tool builders
.externalToolBuilders/

# Locally stored "Eclipse launch configurations"
*.launch
eclipse/.metadata/.plugins/org.eclipse.debug.ui/launchConfigurationHistory.xml
*.jar
forge-1.8-11.14.0.1299-changelog.txt
README.txt
MinecraftForge-License.txt
MinecraftForge-Credits.txt
gradlew

# CDT-specific
.cproject

# JDT-specific (Eclipse Java Development Tools)
.classpath

# Java annotation processor (APT)
.factorypath

# PDT-specific
.buildpath

# sbteclipse plugin
.target

# TeXlipse plugin
.texlipse

### Intellij IDEA ###

*.iml
*.ipr
*.iws

.idea/
.idea_modules/
classes/

/out/
gradle/wrapper/gradle-wrapper.properties
*.bat
LICENSE-fml.txt
forge-1.7.10-10.13.2.1230-changelog.txt
bin/*
eclipse/*
/bin/
gradlew
gradlew.bat

# Linux
*~
1 change: 0 additions & 1 deletion .gradle/2.8/taskArtifacts/cache.properties

This file was deleted.

Binary file removed .gradle/2.8/taskArtifacts/cache.properties.lock
Binary file not shown.
34 changes: 34 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
sudo: required
dist: trusty

language: java
jdk: oraclejdk8

before_cache:
- rm -f $HOME/.gradle/caches/modules-2/modules-2.lock
- rm -fr $HOME/.gradle/caches/*/plugin-resolution/
- rm -f $HOME/.gradle/caches/minecraft/deobfedDeps/providedDummy.jar
- rm -f $HOME/.gradle/caches/minecraft/deobfedDeps/compileDummy.jar
cache:
directories:
- $HOME/.gradle/caches/
- $HOME/.gradle/wrapper/

before_install: chmod +x gradlew
install:
- ./gradlew setupCIWorkspace -S
script:
- ./gradlew build

deploy:
provider: releases
api_key:
secure: "eAH5VmzD1reEhytSz4vx37IehXfG4IiV3QAEGBvK0xCN3OW/9se6U80t/ymIOKpsxvSlTyuOF/yJ4Q6+VsUl0SjFhu93k3lgoO2iT39NIvnAR6R/cN+vWGUX7kjKV6+h1n71vFV6ok4k8GXqPNDits6DMg97j5lX0w5IUDzoCkz8sTE5ScmJFoMeG+jlETnSsmvkwZabdkta+KzpYDolzAHQ5VbBb0/gu9rSF56fxyXySs8D441eSY0Gc2vl5VC0pHVW0jlfXiGo+Njsb0SuGR2bqbIj122X6dk1rH1u2rYml7QW+jA3MWpPk8CRuRlI2yMnlf4yLRfIgnwa5PLOakici5vAlIvufHaEn16QOc1SpNO/LHRWvAtDCoUJARMrnjaWqGOguuEvhqoXEvl8OfX4CCwoaHGJ5O826G6qS8BjQbfxT6Ew8LZZzWqDhHPVfu3ySDquGNdXRrq8z3cKPkkg8ApLzPBaxDG0nf3AQDSxB/0wnYRZYKmii2wsWSbyC6AqaI1l24pocsCMV2hL1MBtouNl3nheTwfBaEbxVC/CzrTfSlGO0tyD+6oRRH9mRX+ZAWl+Evua7OmVNeVBZhbYVeInJGfwzjjAqCgbumOMcHqomkevEaCWqDU3wjExNL5USlwEh22yq9+uwAZDbio8UcgViMiFWkAIdwLEOMg="
file_glob: true
file: $HOME/build/libs/*
skip_cleanup: true
on:
tags: true

notifications:
email: false
3 changes: 0 additions & 3 deletions Changelog.txt

This file was deleted.

13 changes: 11 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,11 @@
# MineFantasy2 (2.6.10+)
Try keep it neat
# MineFantasy2 Unofficial [![Travis CI](https://travis-ci.org/Sirse/MineFantasyII-Cont.svg?branch=master)](https://travis-ci.org/Sirse/MineFantasyII-Cont) [![CurseForge](http://cf.way2muchnoise.eu/minefantasy2.svg)](https://minecraft.curseforge.com/projects/minefantasy2)

Unofficial, but approved MineFantasy 2 fork aimed for cross-mod integration, bug fixes, stability and perfomance tweaks.

### Useful links:

- Join a discussion at [our Minecraft forum thread](https://minecraftforum.net/forums/mapping-and-modding-java-edition/minecraft-mods/wip-mods/2467203-minefantasy2-alpha)
- Downloads are avaliable on [releases page](https://github.com/Sirse/MineFantasyII-Cont/releases)
- Feedback are needed! If you found an issue, please, [report it!](https://github.com/Sirse/MineFantasyII-Cont/issues)

#### Also, you are can support MineFantasy II Unofficial developing [via donation!](https://www.paypal.me/sirse)
79 changes: 79 additions & 0 deletions TODO/Dwarvenforged/DwarvenForgedStyle.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,79 @@
package minefantasy.mf2.item.list.styles;

import minefantasy.mf2.api.armour.ArmourDesign;
import minefantasy.mf2.api.crafting.exotic.SpecialForging;
import minefantasy.mf2.item.archery.EnumBowType;
import minefantasy.mf2.item.archery.ItemBowMF;
import minefantasy.mf2.item.armour.ItemCustomArmour;
import minefantasy.mf2.item.list.CreativeTabMF;
import minefantasy.mf2.item.list.CustomArmourListMF;
import minefantasy.mf2.item.list.CustomToolListMF;
import minefantasy.mf2.item.tool.ItemAxeMF;
import minefantasy.mf2.item.tool.ItemHoeMF;
import minefantasy.mf2.item.tool.ItemPickMF;
import minefantasy.mf2.item.tool.ItemShearsMF;
import minefantasy.mf2.item.tool.ItemSpadeMF;
import minefantasy.mf2.item.tool.advanced.ItemHandpick;
import minefantasy.mf2.item.tool.advanced.ItemHvyPick;
import minefantasy.mf2.item.tool.advanced.ItemHvyShovel;
import minefantasy.mf2.item.tool.advanced.ItemLumberAxe;
import minefantasy.mf2.item.tool.advanced.ItemMattock;
import minefantasy.mf2.item.tool.advanced.ItemScythe;
import minefantasy.mf2.item.tool.advanced.ItemTrowMF;
import minefantasy.mf2.item.tool.crafting.ItemHammer;
import minefantasy.mf2.item.tool.crafting.ItemKnifeMF;
import minefantasy.mf2.item.tool.crafting.ItemNeedle;
import minefantasy.mf2.item.tool.crafting.ItemSaw;
import minefantasy.mf2.item.tool.crafting.ItemSpanner;
import minefantasy.mf2.item.tool.crafting.ItemTongs;
import minefantasy.mf2.item.weapon.ItemBattleaxeMF;
import minefantasy.mf2.item.weapon.ItemDagger;
import minefantasy.mf2.item.weapon.ItemGreatswordMF;
import minefantasy.mf2.item.weapon.ItemHalbeardMF;
import minefantasy.mf2.item.weapon.ItemKatanaMF;
import minefantasy.mf2.item.weapon.ItemLance;
import minefantasy.mf2.item.weapon.ItemMaceMF;
import minefantasy.mf2.item.weapon.ItemSpearMF;
import minefantasy.mf2.item.weapon.ItemSwordMF;
import minefantasy.mf2.item.weapon.ItemWaraxeMF;
import minefantasy.mf2.item.weapon.ItemWarhammerMF;
import minefantasy.mf2.item.weapon.ItemWeaponMF;
import net.minecraft.creativetab.CreativeTabs;
import net.minecraft.item.Item.ToolMaterial;
import net.minecraftforge.common.util.EnumHelper;

public class DwarvenForgedStyle {
public static ToolMaterial dwarvenforged = EnumHelper.addToolMaterial("dwarvenforged", 2, 225, 5.5F, 1.5F, 12);

public static ItemWeaponMF dwarvenforged_longsword;

public static ItemPickMF dwarvenforged_pick;




public static void load() {
String design = "dwarvenforged";
CreativeTabs tab = CreativeTabMF.tabDwarvenforged;
ToolMaterial mat = dwarvenforged;
float ratingMod = 1.2F;


dwarvenforged_longsword = new ItemSwordMF(design + "_longsword", mat, 0, 1F).setCustom(design).setTab(tab)
.modifyBaseDamage(1);


// Tools
dwarvenforged_pick = (ItemPickMF) new ItemPickMF(design + "_pick", mat, 0).setCustom(design).setCreativeTab(tab);


// Crafters



}

public static void loadCrafting() {

}
}
Loading