generated from stpv221/u31-workspace
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
9 changed files
with
82 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
18 changes: 18 additions & 0 deletions
18
desktopRuntime/resources/assets/minecraft/models/item/magic_book.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
{ | ||
"parent": "builtin/generated", | ||
"textures": { | ||
"layer0": "items/magic_book" | ||
}, | ||
"display": { | ||
"thirdperson": { | ||
"rotation": [ -90, 0, 0 ], | ||
"translation": [ 0, 1, -3 ], | ||
"scale": [ 0.55, 0.55, 0.55 ] | ||
}, | ||
"firstperson": { | ||
"rotation": [ 0, -135, 25 ], | ||
"translation": [ 0, 4, 2 ], | ||
"scale": [ 1.7, 1.7, 1.7 ] | ||
} | ||
} | ||
} |
Binary file added
BIN
+369 Bytes
desktopRuntime/resources/assets/minecraft/textures/items/magic_book.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
package net.ice.gui; | ||
|
||
public class BookGUI { | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
package net.ice.spell; | ||
|
||
public class Spell { | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
package net.minecraft.item; | ||
|
||
import java.util.List; | ||
|
||
import net.minecraft.entity.player.EntityPlayer; | ||
import net.minecraft.entity.player.EntityPlayerMP; | ||
import net.minecraft.inventory.Slot; | ||
import net.minecraft.nbt.NBTTagCompound; | ||
import net.minecraft.nbt.NBTTagList; | ||
import net.minecraft.nbt.NBTTagString; | ||
import net.minecraft.network.play.server.S2FPacketSetSlot; | ||
import net.minecraft.stats.StatList; | ||
import net.minecraft.util.ChatComponentProcessor; | ||
import net.minecraft.util.ChatComponentText; | ||
import net.minecraft.util.EnumChatFormatting; | ||
import net.minecraft.util.IChatComponent; | ||
import net.minecraft.util.StatCollector; | ||
import net.minecraft.util.StringUtils; | ||
import net.minecraft.world.World; | ||
|
||
/**+ | ||
* This portion of EaglercraftX contains deobfuscated Minecraft 1.8 source code. | ||
* | ||
* Minecraft 1.8.8 bytecode is (c) 2015 Mojang AB. "Do not distribute!" | ||
* Mod Coder Pack v9.18 deobfuscation configs are (c) Copyright by the MCP Team | ||
* | ||
* EaglercraftX 1.8 patch files (c) 2022-2024 lax1dude, ayunami2000. All Rights Reserved. | ||
* | ||
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND | ||
* ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED | ||
* WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. | ||
* IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, | ||
* INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT | ||
* NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR | ||
* PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, | ||
* WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) | ||
* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE | ||
* POSSIBILITY OF SUCH DAMAGE. | ||
* | ||
*/ | ||
public class ItemMagicBook extends Item { | ||
public ItemMagicBook() { | ||
this.setMaxStackSize(1); | ||
} | ||
public boolean hasEffect(ItemStack var1) { | ||
return true; | ||
} | ||
} |