forked from Hirohiko360/LiquidBounceScripts
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathABlock.js
More file actions
26 lines (24 loc) · 776 Bytes
/
ABlock.js
File metadata and controls
26 lines (24 loc) · 776 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
var scriptName = "ABlock";
var scriptVersion = 0.1;
var scriptAuthor = "Aftery";
var ItemRenderer = Java.type("net.minecraft.client.renderer.ItemRenderer");
var AItemRenderer = new (Java.extend(ItemRenderer))(mc) {
func_78440_a: function(partialTicks) {
//how to call superclass method is left out as an exercise for the reader, of course.
}
};
var itemRenderer = mc.entityRenderer.class.getDeclaredField("field_78516_c");
var itemRenderer.set(mc.entityRenderer, AItemRenderer);
function Module1() {
this.getName = function() {
return "ABlock";
};
this.getTag = function() {
return "";
};
this.getDescription = function() {
return "ABlock";
};
this.getCategory = function() {
return "Fun";
} ;